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

Output Robotmodel Position in rviz

asked 2016-06-24 00:33:55 -0600

wwei gravatar image

I just started learning ros. I followed the turtlebot tutorial to do robot navigation. But I need to store the trace of robot position to an individual file instead of displaying on rviz. The position is displayed in rviz->robotmodel->links->base_link. I thought I could find this data in topic list but I did not. What can I do to access those position data?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-06-24 03:37:01 -0600

Probably the display you are using in RViz is TF. So have a look at Tutorials. Particularly, you can use tf::TransformListener to get a coordinate frame transformation between '/world' and '/base_link' frames to acquire robot's pose in global frame.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-06-24 00:33:55 -0600

Seen: 1,337 times

Last updated: Jun 24 '16