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

Get pose of pr2 from gazebo

asked 2013-04-03 08:51:11 -0500

kachilous gravatar image

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

ngrennan gravatar image

When I launch the pr2 in gazebo, I see that gazebo keeps track of its pose. How do I get this pose programmatically?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-04-04 02:52:41 -0500

davinci gravatar image

You can write a client to the get_joint_properties service and request the joint state.

See also here: http://answers.ros.org/question/43157/trying-to-use-get-joint-state-with-my-urdf/

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-03 08:51:11 -0500

Seen: 311 times

Last updated: Apr 04 '13