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

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

asked 2016-06-15 01:38:03 -0500

liuenfu gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-06-15 02:57:05 -0500

asimay_y gravatar image

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.

edit flag offensive delete link more


I appreciate for your help!! Thank you!

liuenfu gravatar image liuenfu  ( 2016-06-23 21:49:16 -0500 )edit

Question Tools

1 follower


Asked: 2016-06-15 01:38:03 -0500

Seen: 182 times

Last updated: Jun 15 '16