Ask Your Question
0

Control PR2 gripper in moveit grasp pipeline

asked 2020-01-27 10:19:15 -0600

Madcreator gravatar image

updated 2020-01-28 07:35:05 -0600

Hi,

The gripper of the PR2 robot can be controlled with an action client in wich you specify the gripper openning size and the controller handles all the complicated joint control. But in the moveit grasp pipeline (see pick and place tutorial on moveit : http://docs.ros.org/kinetic/api/movei...), we need to specify joint values for the pre_grasp_posture so that moveit can actuate the gripper but also know it's joint positions (see §Setting posture of eef before grasp)

With an action server you can't specify these joints, you only specify gripper opening in meter. So here is my question, how do you set the pre_grasp_posture when all that you have is an action client to control the pr2 gripper (http://wiki.ros.org/pr2_controllers/T...

My setup : ROS kinetic, moveit, Ubuntu 16.04, PR2 robot

thanks in advance for all the help.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2020-02-11 02:39:15 -0600

Madcreator gravatar image

updated 2020-02-11 02:41:14 -0600

gvdhoorn gravatar image

Found finally what was wrong ! When you generate files with setup assistant. It fills automatically the pr2_moveit_controller_manager.launch.xml file with moveit_simple_controller_manager/MoveItSimpleControllerManager but this controller manager doesn't handle gripper command with moveit.

All you need to do is put the pr2_moveit_controller_manager/Pr2MoveItControllerManager instead and add pr2_moveit_plugins package in your catkin workspace.

View https://github.com/ros-planning/movei....

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2020-01-27 10:19:15 -0600

Seen: 30 times

Last updated: Feb 11