ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Can you somehow use txt files to make a rosbag?

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

Bert gravatar image

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!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

Question Tools

Stats

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

Seen: 681 times

Last updated: Apr 14 '16