Quasics2018Code/Hedy/src/Commands/Primitives/MoveForDistance.cpp
// Called just before this Command runs the first time
Called just before this Command runs the first time
Called just before this Command runs the first time
void MoveForDistance::Initialize() {
	Robot::driveBase->RightEncoderReset();
	Robot::driveBase->LeftEncoderReset();
	leftPower = power ;
	rightPower = power;
	Robot::driveBase->SetPowerToMotors(-(leftPower), rightPower);
}
void MoveForDistance :: Initialize ( ) { Robot :: driveBase -> RightEncoderReset ( ) ; Robot :: driveBase -> LeftEncoderReset ( ) ; leftPower = power ; rightPower = power ; Robot :: driveBase -> SetPowerToMotors ( - ( leftPower ) , rightPower ) ; }
Called just before this Command runs the first time
Called just before this Command runs the first time
/* * 0.95 */