Quasics2021Code/Mae/src/main/cpp/commands/AutoModeTurningBackoff.cpp
// NOTE:  Consider using this command inline, rather than writing a subclass.
// For more information, see:
// https://docs.wpilib.org/en/latest/docs/software/commandbased/convenience-features.html
Consider using this command inline, rather than writing a subclass.
Consider using this command inline rather than writing a subclass .
AutoModeTurningBackoff::AutoModeTurningBackoff(Exhaust* exhaust,
                                               Drivebase* drivebase) {
  AddCommands(
      DriveADistanceCommand(drivebase, 98, .3),
      DeliverForTimeCommand(exhaust, 3),
      DriveADistanceCommand(drivebase, -12, -.3),
      PointTurnToAnAngleCommand(drivebase, false, 40),
      DriveADistanceCommand(drivebase, -50, -.3),
      PointTurnToAnAngleCommand(drivebase, true, 55),
      DriveADistanceCommand(drivebase, -48, -.3));
}
AutoModeTurningBackoff :: AutoModeTurningBackoff ( Exhaust * exhaust , Drivebase * drivebase ) { AddCommands ( DriveADistanceCommand ( drivebase , 98 , .3 ) , DeliverForTimeCommand ( exhaust , 3 ) , DriveADistanceCommand ( drivebase , -12 , -.3 ) , PointTurnToAnAngleCommand ( drivebase , false , 40 ) , DriveADistanceCommand ( drivebase , -50 , -.3 ) , PointTurnToAnAngleCommand ( drivebase , true , 55 ) , DriveADistanceCommand ( drivebase , -48 , -.3 ) ) ; }
NOTE:  Consider using this command inline, rather than writing a subclass.
NOTE : Consider using this command inline rather than writing a subclass .
// Add your commands here, e.g. // AddCommands(FooCommand(), BarCommand()); // following drives backward around two feet and sideways around two feet) // Drives the remaining distance to the line