Robotics StackExchange | Archived questions

Can you somehow use txt files to make a rosbag?

Hi!

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?

Thanks!

Asked by Bert on 2016-04-14 03:10:01 UTC

Comments

Answers

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.

Asked by lucasw on 2016-04-14 07:27:35 UTC

Comments