How cwha0212/ligo. works
LIGO is a ROS 2 LiDAR–inertial odometry and mapping system with NMEA/PPP global positioning and indoor localization support. The documented runtime centers on processing LiDAR and IMU data, estimating motion, and optionally applying global or indoor constraints to produce mapped, globally referenced poses. The graph also preserves the documented MQTT integration. Edges are limited to relationships visible in the excerpts, SOURCE INDEX references, or README; several subsystem links are omitted because their runtime calls were not shown.
Main entry points: laserMapping.cpp Mapping Node · NMEA_Processing_fg.cpp NMEA Factor Graph · mqtt_mode_orchestrator.py MQTT Mode Orchestrator · ivox3d.h Incremental Voxel Map
Components 21
LiDAR Mapping
- Mapping Node
src/laserMapping.cpp - Sensor Preprocessing
src/preprocess.cpp - Incremental Voxel Map
include/ivox/ivox3d.h - Voxel Indexing
include/ivox/ivox3d_node.hpp - Hilbert Indexing
include/ivox/hilbert.hpp
State Estimation
- IMU Processing
src/IMU_Processing.cpp - LIO Initialization
src/li_initialization.cpp - State Estimator
src/Estimator.cpp - Iterated Kalman Filter
include/IKFoM/IKFoM_toolkit/esekfom/esekfom.hpp - Manifold Toolkit
include/IKFoM/IKFoM_toolkit/mtk
Global Localization
- NMEA Factor Graph
src/NMEA_Processing_fg.cpp - NMEA Assignment
src/NMEA_Assignment.cpp - NMEA Factors
include/nmea_factor/nmea_factor.hpp - Indoor Processing
src/Indoor_Processing.cpp - Indoor GICP Localizer
src/Indoor_SmallGICP_Localizer.cpp - Indoor Map Registry
src/Indoor_GridMapRegistry.cpp
Runtime Integration
- MQTT Mode Orchestrator
scripts/mqtt_mode_orchestrator.py - MQTT Configuration
scripts/mqtt_config.py
Other components
- Sensor Streams
- MQTT Broker
- Pose and Map Output
Connections 17
- Sensor Streams → Mapping Node: supplies data
- Mapping Node → LIO Initialization: uses
src/laserMapping.cpp - Mapping Node → Indoor Processing: uses
src/laserMapping.cpp - Mapping Node → Indoor Map Registry: uses
src/laserMapping.cpp - Mapping Node → Pose and Map Output: publishes
- Sensor Preprocessing → Incremental Voxel Map: supports mapping
- Incremental Voxel Map → Voxel Indexing: indexes points
include/ivox/ivox3d.h - Voxel Indexing → Hilbert Indexing: uses indexing
include/ivox/ivox3d_node.hpp - IMU Processing → State Estimator: provides motion data
- State Estimator → Iterated Kalman Filter: uses filter
- Iterated Kalman Filter → Manifold Toolkit: uses state types
include/IKFoM/IKFoM_toolkit/esekfom/esekfom.hpp - NMEA Factor Graph → NMEA Assignment: uses assignment
- NMEA Factor Graph → NMEA Factors: adds constraints
- Mapping Node → NMEA Factor Graph: fuses NMEA
- Indoor Processing → Indoor GICP Localizer: uses localizer
- MQTT Mode Orchestrator → MQTT Configuration: loads settings
scripts/mqtt_mode_orchestrator.py - MQTT Mode Orchestrator → MQTT Broker: coordinates modes