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

How can i drive the joints of the pr2 arm manually?

asked 2014-08-01 17:45:11 -0600

Ardu Ino gravatar image

updated 2014-11-22 17:05:47 -0600

ngrennan gravatar image

Hi all!

what we want to do is drive the angles of the arm joints of the pr2 manually. They are computet continously in a motion planning algorithm and send to the arm joints.

So far I have looked at: (cant post working links)

  1. Moving the arm using the Joint Trajectory Action tutorial @

    Here I have to specify waypoints for the joints over time. It does not work when I try to run it with one single waypoint. Is this somehow possible?

  2. Adapt the Moving the torso tutorial @

    This one is using the SingleJointPositionAction. I cant make it work because there is no action node related to r_arm_controller running on my gazebo simulator. (see section 1.5 of tutorial) Does driving the head joint differs from driving the arm joint?

  3. Writing my own low level controller? See this tutorial @

    Is this a good idea? I cant imagine this is the best way to do it.

I have been working with ros for just two weeks so please dont assume deep knowledge in your answers!

Any help is welcome!


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-08-05 11:06:54 -0600

ahendrix gravatar image

I wrote this several years ago, so I don't remember how most of it works, but I think it's doing the same thing you're trying to do. Most of the message types, structure and topics should apply in both Python and C++:

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-08-01 17:45:11 -0600

Seen: 123 times

Last updated: Aug 05 '14