Ask Your Question

Can you somehow use txt files to make a rosbag?

asked 2016-04-14 03:10:01 -0500

Bert gravatar image


With the use of the program Eclipse I get sensordata and encoderdata saved in .txt files after a testdrive with a robot. Is it somehow possible to use these .txt files and convert them together to a rosbag? Or are there other ways to test gmapping instead of a rosbag?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-04-14 07:27:35 -0500

lucasw gravatar image

You could write a python program to parse the text file and republish the sensor data on ros topics. rosbag could record the output, or it could run live with other ros nodes that consume the published topics. The other way to test gmapping would be with simulated data rather than recorded data using a simulator like gazebo.

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


Asked: 2016-04-14 03:10:01 -0500

Seen: 272 times

Last updated: Apr 14 '16