fix: slave mode spin not working

This commit is contained in:
wznln
2025-04-30 15:21:29 +08:00
parent 8ab108c489
commit 2d034f728a
2 changed files with 7 additions and 23 deletions

View File

@@ -224,8 +224,6 @@ class PyLabRobotCreator(DeviceClassCreator[T]):
if hasattr(self.device_instance, "setup") and asyncio.iscoroutinefunction(getattr(self.device_instance, "setup")):
from unilabos.ros.nodes.base_device_node import ROS2DeviceNode
ROS2DeviceNode.run_async_func(getattr(self.device_instance, "setup")).add_done_callback(lambda x: logger.debug(f"PyLabRobot设备实例 {self.device_instance} 设置完成"))
# 2486229810384
#2486232539792
class ProtocolNodeCreator(DeviceClassCreator[T]):
"""