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/moveit_tutorials/html/doc/pick_place/pick_place_tutorial.html), 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/Tutorials/Moving%20the%20gripper)?
My setup : ROS kinetic, moveit, Ubuntu 16.04, PR2 robot
thanks in advance for all the help.
Originally posted by Madcreator on ROS Answers with karma: 114 on 2020-01-27
Post score: 0