Experimental/Grace-Experimental/src/Commands/MoveForward.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 MoveForward::Initialize() {
	Robot::driveBase->SetPower(power, power);
	SetTimeout(secondsToRun);
}
void MoveForward :: Initialize ( ) { Robot :: driveBase -> SetPower ( power , power ) ; SetTimeout ( secondsToRun ) ; }
Called just before this Command runs the first time
Called just before this Command runs the first time
// Note: This is going to produce pretty jerky motion, especially at // anything near full power.  A better approach might be to start out at // low power, ramping up to speed, and ramping down as we get close to // the end of the allotted time.