Experimental/MattsToy2020/src/main/cpp/commands/TankDriveCommand.cpp
// Called once the command ends or is interrupted.
Called once the command ends or is interrupted.
Called once the command ends or is interrupted .
void TankDriveCommand::End(bool interrupted) {
  if (restoreBreaking) {
    driveBase->SetCoastingEnabled(false);
  }
  driveBase->Stop();
}
void TankDriveCommand :: End ( bool interrupted ) { if ( restoreBreaking ) { driveBase -> SetCoastingEnabled ( false ) ; } driveBase -> Stop ( ) ; }
Called once the command ends or is interrupted.
Called once the command ends or is interrupted .