How jixingao/kilvo works
KILVO is a ROS1 humanoid-robot odometry and mapping system. Its principal workflow combines asynchronous leg-kinematic updates with inertial prediction and sequential LiDAR/camera updates to estimate motion and build a map, with contact estimation and modality adaptation supporting robustness. The mapper is the runtime entry point and apparent coordinator. The README documents the hybrid estimator and capabilities; some internal call paths are not visible in the supplied excerpts, so those links are marked unverified rather than asserted as source-confirmed.
Main entry points: LIVMapper.cpp Mapping coordinator · vio.cpp Visual odometry · preprocess.cpp LiDAR preprocessing · kio.cpp Kinematic odometry
Components 16
Runtime coordination
- ROS entry point
src/main.cpp - Mapping coordinator
src/LIVMapper.cpp - Sensor synchronization
src/LIVMapper.cpp - Modality adaptation
src/LIVMapper.cpp - Odometry and map outputs
src/LIVMapper.cpp
Sensor preparation
- LiDAR preprocessing
src/preprocess.cpp
State estimation
- IMU prediction
src/IMU_Processing.cpp
Map and vision
- LiDAR odometry map
src/voxel_map.cpp - Visual odometry
src/vio.cpp - Camera frame
src/frame.cpp - Visual map points
src/visual_point.cpp - Image features
include/feature.h
Contact and kinematics
- Kinematic odometry
src/kio.cpp - Contact estimation
src/kio.cpp
Other components
- Robot sensors
- ROS bag input
Connections 17
- Robot sensors → Mapping coordinator: supply measurements
README.md - ROS bag input → Mapping coordinator: replay topics
README.md - ROS entry point → Mapping coordinator: constructs and runs
src/main.cpp - Mapping coordinator → Sensor synchronization: synchronizes streams
src/LIVMapper.cpp - Mapping coordinator → Modality adaptation: switches modalities
README.md - Mapping coordinator → LiDAR preprocessing: dispatches LiDAR
- Mapping coordinator → IMU prediction: requests prediction
- Mapping coordinator → LiDAR odometry map: updates LiDAR state
- Mapping coordinator → Visual odometry: updates visual state
- Mapping coordinator → Kinematic odometry: processes leg data
- Mapping coordinator → Contact estimation: estimates contact
- Mapping coordinator → Odometry and map outputs: publishes results
src/LIVMapper.cpp - Visual odometry → Camera frame: creates frames
src/vio.cpp - Visual odometry → Visual map points: updates visual map
src/vio.cpp - Visual odometry → Image features: uses image patches
src/vio.cpp - Kinematic odometry → Contact estimation: tracks contact state
src/kio.cpp - LiDAR preprocessing → LiDAR odometry map: provides point clouds