Robotics StackExchange | Archived questions

How do I convert csv format to rosbag?

Hello there, I am working on this project which expects me to run SLAM on ROS using any filter of my choice. I have decided to choose gmapping SLAM. I am provided with two datasets from Rawseeds.org, namely Odometry and Laser sensor datasets in csv file format. As far as I know, I think I need to create a rosbag file for entering these two datasets to my node as inputs. If I am not wrong, please help me regarding how to change the csv files into rosbag format and if I am mistaken, please guide me how to go ahead with using these csv files to map using gmapping. Thank You in advance.

Asked by Jolton on 2016-11-29 19:25:25 UTC

Comments

Answers

Take a look at In ros gmapping, how to use Intel Research Lab dataset? for a related question.

You don't need to create a bag per se (an alternative would be writing a node that reads in the csvs, creates appropriate messages and publishes those), but it's probably a very good idea, as it lets you reuse a bunch of tools that either work directly with bags or by relying on rosbag play .. etc.

Asked by gvdhoorn on 2016-12-01 02:29:16 UTC

Comments