ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi,
You can control PR2's grippers by calling the gripper action server. For example, the right gripper provides the action r_gripper_controller/gripper_action
which you can call as
$ rosrun actionlib axclient.py /r_gripper_controller/gripper_action
To do it from a python script, you can adapt this tutorial to call the gripper action.