Ask Your Question

RVIZ trace robot path

asked 2014-05-29 06:38:24 -0500

Sentinal_Bias gravatar image


I have a bagfile with tf transforms containing /body frames

Is it possible to trace the path of the body frame in RVIZ?

kind of like in this tutorial, but I want to see a line the turtle followed in RVIZ,rather than a line to the transform...

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-05-29 07:42:20 -0500

hector_trajectory_server does what you request. See also this other older Q/A.

edit flag offensive delete link more

answered 2014-05-29 07:36:19 -0500

tfoote gravatar image

The easiest thing to do is publish something to be rendered in rviz such as a Pose or Point at (0,0,0) in the /body frame and turn up the decay time.

If you want to do it in a way that is persistent and recordable the quickest thing to do will be to write a quick python node which records the points and then renders a Polygon path such as the planners and updates it each time the path is resampled.

All messages are in geometry_msgs

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


Asked: 2014-05-29 06:38:24 -0500

Seen: 2,529 times

Last updated: May 29 '14