Hi,
I’d like to run isaac_ros_cumotion_moveit
on my custom robot. As I follow isaac_ros_cumotion_moveit — isaac_ros_docs documentation, when I select a target pose on moveit and click Plan,cumotion_planner_node report errors :
root@ubuntu:/workspaces/isaac_ros-dev# ros2 run isaac_ros_cumotion cumotion_planner_node --ros-args -p robot:=/workspaces/isaac_ros-dev/src/robot_description/resource/robot_X3plus.xrdf -p urdf_path:=/workspaces/is
aac_ros-dev/src/robot_description/urdf/robot_X3plus.urdf
[INFO] [1744168287.225888605] [cumotion_action_server]: Loading grid position and dims from grid_center_m and grid_size_m parameters.
[INFO] [1744168289.461098676] [cumotion_action_server]: warming up cuMotion, wait until ready
[INFO] [1744168291.100895566] [cumotion_action_server]: cuMotion is ready for planning queries!
[INFO] [1744168334.337883417] [cumotion_action_server]: Executing goal...
[INFO] [1744168334.339414797] [cumotion_action_server]: Planning with time_dilation_factor: 0.1
[INFO] [1744168334.342368656] [cumotion_action_server]: PlanRequest start state was empty, reading current joint state
[INFO] [1744168334.358185397] [cumotion_action_server]: Calculating goal pose from Joint target
[ERROR] [1744168334.367128353] [cumotion_action_server]: Error raised in execute callback: 'grip_joint' is not in list
Traceback (most recent call last):
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/action/server.py", line 333, in _execute_goal
execute_result = await await_or_execute(execute_callback, goal_handle)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 107, in await_or_execute
return callback(*args)
File "/workspaces/isaac_ros-dev/install/isaac_ros_cumotion/lib/python3.10/site-packages/isaac_ros_cumotion/cumotion_planner.py", line 724, in execute_callback
goal_state = self.motion_gen.get_active_js(
File "/workspaces/isaac_ros-dev/install/curobo_core/lib/python3.10/site-packages/curobo/wrap/reacher/motion_gen.py", line 2177, in get_active_js
opt_js = in_js.get_ordered_joint_state(opt_jnames)
File "/workspaces/isaac_ros-dev/install/curobo_core/lib/python3.10/site-packages/curobo/types/state.py", line 394, in get_ordered_joint_state
new_js.inplace_reindex(ordered_joint_names)
File "/usr/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/workspaces/isaac_ros-dev/install/curobo_core/lib/python3.10/site-packages/curobo/types/state.py", line 402, in inplace_reindex
new_index_l = [self.joint_names.index(j) for j in joint_names]
File "/workspaces/isaac_ros-dev/install/curobo_core/lib/python3.10/site-packages/curobo/types/state.py", line 402, in <listcomp>
new_index_l = [self.joint_names.index(j) for j in joint_names]
ValueError: 'grip_joint' is not in list
I think there may be errors in my urdf or xrdf file,can you please help me check them? Thanks!
robot_X3plus.xrdf.txt (1.4 KB)
robot_X3plus.urdf.txt (19.3 KB)