abort method

  1. @mustCallSuper
Future<void> abort()

Implementation

@mustCallSuper
Future<void> abort() async {
  currentCommand = null;
  collection.logger.warning("Aborting task!");
  currentState = AutonomyState.ABORTING;
  await collection.drive.stop();
  await collection.dispose();
  exit(1);
}