Alex D: fix rclpy.spin no node error

This commit is contained in:
Burak Ozter 2024-11-07 13:12:19 -04:00
parent a752ed603e
commit c1484b58ce
1 changed files with 0 additions and 4 deletions

View File

@ -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())