Quasics2016Code/SimpleRobot/src/Commands/DriveForDistance.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 DriveForDistance::Initialize() {
    Robot::driveSystem->ResetEncoders();
    Robot::driveSystem->MoveLeft(m_powerPercent);
    Robot::driveSystem->MoveRight(m_powerPercent);
}
void DriveForDistance :: Initialize ( ) { Robot :: driveSystem -> ResetEncoders ( ) ; Robot :: driveSystem -> MoveLeft ( m_powerPercent ) ; Robot :: driveSystem -> MoveRight ( m_powerPercent ) ; }
Called just before this Command runs the first time
Called just before this Command runs the first time