Quasics2021Code/Mae/src/main/cpp/commands/PointTurnToAnAngleCommand.cpp
// Called repeatedly when this Command is scheduled to run
Called repeatedly when this Command is scheduled to run
Called repeatedly when this Command is scheduled to run
void PointTurnToAnAngleCommand::Execute() {
  if(isTurningRight){
    drivebase->SetMotorPower(.2, -.2);
  }
  else{
    drivebase->SetMotorPower(-.2, .2);
  }
}
void PointTurnToAnAngleCommand :: Execute ( ) { if ( isTurningRight ) { drivebase -> SetMotorPower ( .2 , -.2 ) ; } else { drivebase -> SetMotorPower ( -.2 , .2 ) ; } }
Called repeatedly when this Command is scheduled to run
Called repeatedly when this Command is scheduled to run