Joint 'joint_1' not found in model 'panda'

asked 2019-02-27 00:19:33 -0500

Alex Beh gravatar image

updated 2019-02-27 04:54:47 -0500

Helo,

Now I am currently follow the tutorial ( http://wiki.ros.org/Industrial/Tutori... )

when I run command

$roslaunch panda_moveit_config moveit_planning_execution.launch

it raise the error

Joint 'joint_1' not found in model 'panda'

according the tutorial, then I try to create the file panda_moveit_config/config/joint_names.yaml and inside it:

controller_joint_names: ['panda_joint1','panda_joint2','panda_joint3','panda_joint4','panda_joint5','panda_joint6','panda_joint7']

and uncomment the line in moveit_planning_execution.launch.

but it still raise the same error? Can I get any help?

This is the part inside my panda.srdf.

<group name="panda_arm"> <joint name="virtual_joint"/> <joint name="panda_joint1"/> <joint name="panda_joint2"/> <joint name="panda_joint3"/> <joint name="panda_joint4"/> <joint name="panda_joint5"/> <joint name="panda_joint6"/> <joint name="panda_joint7"/> <joint name="panda_joint8"/>
</group> <group name="hand"> <joint name="panda_hand_joint"/> <joint name="panda_finger_joint1"/> <joint name="panda_finger_joint2"/> </group> <group_state name="home_origin" group="panda_arm"> <joint name="panda_joint1" value="0.3184"/> <joint name="panda_joint2" value="0.4068"/> <joint name="panda_joint3" value="-2.8973"/> <joint name="panda_joint4" value="-3.0718"/> <joint name="panda_joint5" value="2.8973"/> <joint name="panda_joint6" value="1.9918"/> <joint name="panda_joint7" value="0.8596"/> </group_state>

Thanks.

edit retag flag offensive close merge delete

Comments

1

The error tells you that your renaming didn't work. Is your controller_joint_names on a different line as controller_joint_names: ? Also, is it working fine if you rename your joint in your srdf to match the standard names ?

Delb gravatar image Delb  ( 2019-02-27 01:41:26 -0500 )edit

Finally have you tried like the other link given in your tutorial to set this parameter before calling everything else ?

Delb gravatar image Delb  ( 2019-02-27 01:42:24 -0500 )edit

@Delb: the Panda uses franka_ros as a driver, not industrial_robot_client. It doesn't do anything with controller_joint_names.

gvdhoorn gravatar image gvdhoorn  ( 2019-02-27 03:43:34 -0500 )edit

@Delb: I try to set the parameter following the set up but still have errors.

@gvdhoorn: So to solve this error? Which file should I edit?

Alex Beh gravatar image Alex Beh  ( 2019-02-27 04:19:01 -0500 )edit

I don't know. I've not looked into your problem. I just wanted to clarify the situation with controller_joint_names.

gvdhoorn gravatar image gvdhoorn  ( 2019-02-27 04:30:41 -0500 )edit

@Delb: I solved it follow your solution. The problem is I type in the same line so it cause the error. Besides, may I double confirm with you which joints should I include in my controller_joint_names?

Alex Beh gravatar image Alex Beh  ( 2019-02-27 04:49:43 -0500 )edit

According to the tutorial you should provide all the joints from the base to the end effector, in the right order (starting from the base).

Delb gravatar image Delb  ( 2019-02-27 07:33:13 -0500 )edit

@Delb: Noted! Thx for the help :)

Alex Beh gravatar image Alex Beh  ( 2019-02-27 07:38:37 -0500 )edit