Converting raw scan data to PointCloud2 data (SICK S300)
I really could use some help to start with my first mapping project. So far I have a SICK S300 from which I get data like this:
header:
seq: 3814
stamp:
secs: 1370262735
nsecs: 263812610
frame_id: /base_laser_link
angle_min: -1.3526301384
angle_max: 1.3526301384
angle_increment: 0.00872664619237
time_increment: 0.000184842880117
scan_time: 0.0
range_min: 0.0
range_max: 100.0
ranges: [0.6100000143051147, 0.6100000143051147, [...] 1.7999999523162842, 1.7899999618530273, 1.7999999523162842, 1.7999999523162842]
intensities: [0.0, 0.0, 0.0, [...] 0.0, 0.0]
And I want to work with Octomap so I get a 2D map from projected map. I need only a 2D map actually, and SLAM is not relevant either as there will be seperate odometry devices. I only want to use things with either the BSD or the LGPL licence.
By now I understand the data format I have there, here's what I still don't get:
- Is there a converter which can convert this data directly to pointcloud2 data?
- If so, I can add seperate odometry data to that, right?
- Where do I have to put the data (remapping of topics?) to get octomap or any other map system to work?