ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to control pr2 head in gazebo

asked 2011-05-28 08:43:59 -0500

roboren gravatar image

updated 2011-06-17 12:24:02 -0500

mmwise gravatar image

Hi all,

I'm trying to control pr2's head (i.e., moving up and down, left and right) in simulation, but couldn't get it working. To this effort, I start with playing with controlling right gripper as in the tutorial ( http://www.ros.org/wiki/pr2_simulator... ). However, publishing a command does not seem to work (?!). It did not change anything. Actually I do not know what to expect..

Can anyone give me some directions of controlling pr2's head? Thanks a lot.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2011-06-17 12:23:43 -0500

mmwise gravatar image

if you want to control the head of the PR2 you should send goals to the pr2_head_action (http://www.ros.org/wiki/pr2_head_action). The pr2_controllers and pr2_common_actions packages many of the basic actions available for controlling the PR2

edit flag offensive delete link more
2

answered 2011-06-17 12:27:31 -0500

hsu gravatar image

For moving the gripper, if you're running diamondback and newer, did you follow this link?

For moving the head, check out this tutorial.

edit flag offensive delete link more
1

answered 2011-08-15 11:10:17 -0500

vincent gravatar image

this teleop controller provides the functionality to control the head, either using joystick or keyboard pr2_teleop_general

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-05-28 08:43:59 -0500

Seen: 1,332 times

Last updated: Aug 15 '11