AttributeError: 'InterbotixRobotXSCore' object has no attribute 'subscriptions'
self.spin_once(timeout_sec)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 705, in spin_once
handler, entity, node = self.wait_for_ready_callbacks(timeout_sec=timeout_sec)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 691, in wait_for_ready_callbacks
return next(self._cb_iter)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 492, in _wait_for_ready_callbacks
subscriptions.extend(filter(self.can_execute, node.subscriptions))
AttributeError: 'InterbotixRobotXSCore' object has no attribute 'subscriptions'
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 705, in spin_once
handler, entity, node = self.wait_for_ready_callbacks(timeout_sec=timeout_sec)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 691, in wait_for_ready_callbacks
return next(self._cb_iter)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 492, in _wait_for_ready_callbacks
subscriptions.extend(filter(self.can_execute, node.subscriptions))
AttributeError: 'InterbotixRobotXSCore' object has no attribute 'subscriptions'
1 个回复
ncnynl
赞同来自:
https://gitee.com/ncnynl/inter ... et.py
Some places need self.core.robot_node to replace self.core