diff --git a/ros2/src/robobin/robobin/api_helpers/connection_manager.py b/ros2/src/robobin/robobin/api_helpers/connection_manager.py index 555db1a2dd402e9518d4b87d03f9c7eb98c5ab25..d202ab3d29c813e7fa8660b1429c1e7d872e8633 100644 --- a/ros2/src/robobin/robobin/api_helpers/connection_manager.py +++ b/ros2/src/robobin/robobin/api_helpers/connection_manager.py @@ -64,4 +64,14 @@ class ConnectionManager: def stop(self): """Stops the connection manager.""" + #@TODO: Implement stoppage gracefully. Right now self.stop_event.set() + +if __name__ == "__main__": + ConnectionManager(None).start() + while True: + time.sleep(1) + user_input = input("Type 'exit' to stop: ") + if user_input == "exit": + break + ConnectionManager(None).stop() diff --git a/ros2/src/robobin/robobin/motor_controller.py b/ros2/src/robobin/robobin/motor_controller.py deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000