Ask Your Question
0

Output Robotmodel Position in rviz

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

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 -0500

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 674 times

Last updated: Jun 24 '16