dispose method

  1. @override
Future<void> dispose()
override

Closes the connection to the device.

Implementation

@override
Future<void> dispose() async {
  await server.dispose();
  await gps.dispose();
  await imu.dispose();
  await drive.dispose();
  await pathfinder.dispose();
  await detector.dispose();
  await realsense.dispose();
  await orchestrator.dispose();
  logger.info("Autonomy disposed");
}