Record robot movement during navigation

asked 2020-01-20 04:52:36 -0500

rw1725 gravatar image


I have been working with gmapping, navigation and rviz. I want to ask if it's possible to record the robot movement during navigation or not.

If it's possible can someone tell me how to do it? I want the data of time and location of the robot such as

t=1, x=0, y=1, z=0

t=2, x=0, y=2, z=0...


edit retag flag offensive close merge delete


IDK if there is a node for it directly, but it would be easy to run the Robot Pose Publisher and save the data to file with a time stamp. You have some programming experience I guess. If not you can still search on web for python tutorials for things like writing files to the drive.

Also, maybe saving the data in a bag file would work, but you didn't say what you wanted to do with the data. The bag file saves the data in the same form as when it's published over topics.

billy gravatar image billy  ( 2020-01-20 11:02:35 -0500 )edit