Robotics StackExchange | Archived questions

How to convert sick lms logged data .log to rosbag file .bag

Hi, ROS users,
I am quite new to ROS. Now I have a question cannot solve, please help me, sincerely. Now I want to use Gmapping to make 2D grid occupancy map using logged SICK LMS data. I think the way to solve this question is: (1) SICK LMS logged data ----> (2) ROS bag logged data ----> (3) by using gmapping, obtain 2D grid occupancy map. Now I've already solve the step from (2)----->(3), so the question is how can I convert (1) SICK LMS logged data to ROS bag logged data. I have one example SICK LMS logged data in link text, can you help me to obtain the rosbag format data? Thanks in advance. sincerely.

Asked by liuenfu on 2016-06-15 01:38:03 UTC

Comments

Answers

the data is not compatible with ROS bag style, you need to write tools to transfer between the different type data. what you need to do is : read data from the file -> transfer to sensor msg style -> publish out -> combine with gmapping.

Asked by asimay_y on 2016-06-15 02:57:05 UTC

Comments

I appreciate for your help!! Thank you!

Asked by liuenfu on 2016-06-23 21:49:16 UTC