dispose method
override
Closes the connection to the device.
Implementation
@override
Future<void> dispose() async {
currentPath = null;
currentCommand = null;
currentState = AutonomyState.AUTONOMY_STATE_UNDEFINED;
traversed.clear();
await super.dispose();
}