PRBonn / kinematic-icp

A LiDAR odometry pipeline for wheeled mobile robots
https://www.ipb.uni-bonn.de/wp-content/papercite-data/pdf/kissteam2025icra.pdf
MIT License
197 stars 22 forks source link

Add support for 2D LiDARs #17

Closed tizianoGuadagnino closed 1 week ago

tizianoGuadagnino commented 2 weeks ago

Motivation

I want to properly support 2D Lidars, as the "Can I use it with the Hokuyo/Sick?" question has already come to my ears many times since the release.

What did I do

Just add the laser_geometry ROS package as a dependency so that we can use the projectLaser function to convert the LaserScan msg to PointCloud2 msg. To enable the 2d lidar mode, I add a new flag use_2d_lidar in the launch files. NOTICE: this also works for the offline node. Miss some cleaning.