From c1484b58cecaa06591f0f53fa73dbb82e289d714 Mon Sep 17 00:00:00 2001 From: Burak Ozter Date: Thu, 7 Nov 2024 13:12:19 -0400 Subject: [PATCH] Alex D: fix rclpy.spin no node error --- guiTools/spiri_sdk_guitools/sim_drone.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/guiTools/spiri_sdk_guitools/sim_drone.py b/guiTools/spiri_sdk_guitools/sim_drone.py index 05f3841..711d2b0 100644 --- a/guiTools/spiri_sdk_guitools/sim_drone.py +++ b/guiTools/spiri_sdk_guitools/sim_drone.py @@ -22,10 +22,6 @@ import threading def ros_main() -> None: rclpy.init() - try: - rclpy.spin() - except ExternalShutdownException: - pass app.on_startup(lambda: threading.Thread(target=ros_main).start())