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

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

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

Ardu Ino gravatar image

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

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 @ wiki.ros.org/pr2_controllers/Tutorials/Moving%20the%20arm%20using%20the%20Joint%20Trajectory%20Action

    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 @ wiki.ros.org/pr2_controllers/Tutorials/Moving%20the%

    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 @ wiki.ros.org/pr2_mechanism/Tutorials/Writing%20a%20realtime%20joint%20controller

    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!

Martin

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

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++: https://github.com/ahendrix/pr2_photo...

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 123 times

Last updated: Aug 05 '14