Quasics2017Code/Ralph/src/Commands/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::driveTrain->LeftEncoderReset();
	Robot::driveTrain->RightEncoderReset();
	Robot::driveTrain->SetLeftPower(power * .8);
	Robot::driveTrain->SetRightPower(power);
}
void MoveForDistance :: Initialize ( ) { Robot :: driveTrain -> LeftEncoderReset ( ) ; Robot :: driveTrain -> RightEncoderReset ( ) ; Robot :: driveTrain -> SetLeftPower ( power * .8 ) ; Robot :: driveTrain -> SetRightPower ( power ) ; }
Called just before this Command runs the first time
Called just before this Command runs the first time