How to send Joint values to the MoveIt commander as rosnode parameters from the commandline?

asked 2021-10-31 15:37:33 -0600

bhomaidan gravatar image

updated 2021-10-31 15:37:59 -0600

Hi, I'm trying to send joint values to MoveIt commander through rosnode parameters from the command line, but I'm getting the following error:

  File "/opt/ros/noetic/lib/python3/dist-packages/moveit_commander/", line 231, in set_joint_value_target
raise MoveItCommanderException(
moveit_commander.exception.MoveItCommanderException: Joint value expected when joint name specified

Here is the node script that I'm using, still not sure how can I pass the Joint Values correctly through the command line, and whether if they will be converted to strings!

Can you please tell me how to pass the Joint Values from the command line to the rosnode correctly? thanks in advance.

edit retag flag offensive close merge delete


I would suggest you post the relevant parts from your script here as a section in your question text, both to make it easier to see where the problem may be and to make your question stand-alone (ie: not link to an external site for something which is a critical part of your question).

gvdhoorn gravatar image gvdhoorn  ( 2021-11-01 02:45:42 -0600 )edit