Cannot add box to panda_robot in MoveIt

asked 2022-11-05 14:51:44 -0600

Robo_guy gravatar image

Hello, I have been following the steps in the MoveIt tutorials on this website - http://docs.ros.org/en/melodic/api/mo... but after running the following command - rosrun moveit_tutorials move_group_python_interface_tutorial.py, everything works well till the add box step, as soon as I press enter to add box, the code terminates giving error moveit_commander.exception.MoveItCommanderException: There is no group named hand, has anyone faced similar issue? Please help me in solving this issue, thanks.

edit retag flag offensive close merge delete

Comments

The documentation uses panda_arm as the group name. However, you have edited it to make it hand. So make sure the group exists, please.

ravijoshi gravatar image ravijoshi  ( 2022-11-06 22:06:03 -0600 )edit

Hi @ravijoshi, panda_arm is the robot group name which is specified correctly, the error is occurring due to one specific function called attach_box() in which grasping_group = 'hand' has been specified. Also, I have not made any edits in the code, I am just running the executable script provided by the moveit_tutorials package. Please refer the code in this link and check the attach_box()function - https://github.com/ros-planning/movei...

Robo_guy gravatar image Robo_guy  ( 2022-11-07 14:59:10 -0600 )edit