This issue was reported by a Stretch user that discovered sending a zero command to the "translate_mobile_base" joint causes the driver to throw the following error:
[stretch_driver-3] [INFO] [1714621166.544765799] [joint_trajectory_action]: Received goal request
[stretch_driver-3] [INFO] [1714621166.547108618] [stretch_driver]: stretch_driver joint_traj action: New trajectory received with joint_names = ['translate_mobile_base']
[stretch_driver-3] [ERROR] [1714621166.547873219] [stretch_driver]: Error raised in execute callback: cannot unpack non-iterable NoneType object
[stretch_driver-3] Traceback (most recent call last):
[stretch_driver-3] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/action/server.py", line 325, in _execute_goal
[stretch_driver-3] execute_result = await await_or_execute(execute_callback, goal_handle)
[stretch_driver-3] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 107, in await_or_execute
[stretch_driver-3] return callback(*args)
[stretch_driver-3] File "/home/hello-robot/ament_ws/install/stretch_core/lib/python3.10/site-packages/stretch_core/joint_trajectory_server.py", line 182, in execute_cb
[stretch_driver-3] c.init_execution(self.node.robot, robot_status)
[stretch_driver-3] File "/home/hello-robot/ament_ws/install/stretch_core/lib/python3.10/site-packages/stretch_core/command_groups.py", line 649, in init_execution
[stretch_driver-3] (_, mobile_base_error_m), (_, mobile_base_error_rad) = self.update_execution(robot_status)
[stretch_driver-3] TypeError: cannot unpack non-iterable NoneType object
This issue is reproducible using:
Launch Stretch Driver on the robot: ros2 launch stretch_core stretch_driver.launch.py
This issue was reported by a Stretch user that discovered sending a zero command to the "translate_mobile_base" joint causes the driver to throw the following error:
This issue is reproducible using:
ros2 launch stretch_core stretch_driver.launch.py