How cocel-postech/genz-icp works
Project type and purpose
• This is a robotics middleware project—a C++ LiDAR-based odometry library (“GenZ-ICP”) with ROS1/ROS2 wrappers.
• The core provides a pipeline for adaptive, degeneracy-robust LiDAR odometry; the ROS layer exposes it as nodes, with YAML configs, launch files, and rviz setups.
File structure
• Top-level directories:
• cpp/genz_icp – the core C++ library
• ros – ROS integration (ros1 & ros2 sub-packages, config, launch, rviz)
• pictures, root config files (clang, cmake, gitignore, etc.)
• Inside cpp/genz_icp:
• 3rdparty – Eigen, Sophus, TBB, tsl::robin hash map
• core – modules (Deskew, Preprocessing, Threshold, Registration, VoxelHashMap)
• metrics – runtime metrics collection
• pipeline – GenZICP pipeline entry point (GenZICP.cpp/.hpp)
• Inside ros:
• ros1 & ros2 – OdometryServer nodes + Utils
• config – YAML parameter sets, tuning guide
• launch – .launch/.launch.py files
• rviz – visualization configs
Key README insights
• Build with catkin (ROS1) or colcon (ROS2).
• Two runtime modes: supply topic + config YAML, or topic only (uses defaults).
• Uses standard ROS topics (sensor_msgs/PointCloud2 → nav_msgs/Odometry + TF).
[LiDAR Sensor] → publishes → [ROS Topic: /points]
→ [OdometryServer Node (ros/ros1 & ros/ros2) ■] → loads → [YAML Config ◇]
→ invokes → [GenZICP Pipeline ●]
→ [Preprocessing Module ■] → [Deskew Module ■] → [Threshold Module ■]
→ [VoxelHashMap Module ■] → [Registration Module ■]
→ reports to → [Metrics Module ■]
→ returns ΔPose → [OdometryServer] publishes → [nav_msgs/Odometry & TF ■]
→ external → [RViz Visualization ■]
• Underneath, show the build toolchain: [CMake] → [catkin/colcon build].
• Off to the side, group 3rd-party libs as shared dependencies on the core modules.