How url-kaist/erasor2 works
ERASOR2 builds instance-aware static point-cloud maps from LiDAR sequences, with a ROS-free C++ runtime and Python benchmark tooling. The documented workflow prepares ground/instance labels, accumulates a map, runs ERASOR2, then evaluates preservation and dynamic-object rejection. The repository also includes legacy ERASOR v1, sensor preprocessing, trajectory clustering/pose correction, and visualization. Some links below follow explicit README workflow statements; source-level edges use shown entry points or SOURCE INDEX references, so unsampled internals are not inferred.
Main entry points: main.cpp ERASOR2 runner · run_pipeline.py Benchmark pipeline · mapgen.hpp Map accumulation · erasor2.cpp Instance-aware filtering
Components 19
Input preparation
- Label generation
scripts/kitti_clustering.py - Sensor preprocessing
include/dataprocessor/PointCloudProcessor.h
Mapping runtime
- YAML configuration
src/erasor2/Config.cpp - Dataset loader
src/dataloader/dataloader.cpp - Map accumulation
include/mapgen/mapgen.hpp - Accumulated map
- ERASOR2 runner
src/erasor2/main.cpp
Mapping algorithms
- Trajectory clustering
include/dataprocessor/TrajectoryClustering.hpp - Instance-aware filtering
src/erasor2/erasor2.cpp - Occupancy grid
src/erasor2/grid_map.cpp - Point-cloud utilities
src/erasor2/erasor_utils.cpp - ERASOR v1
src/erasor1/erasor.cpp
Outputs and evaluation
- Rerun visualization
src/erasor2/RerunLogger.cpp - Benchmark pipeline
scripts/run_pipeline.py - Benchmark runner
scripts/run_benchmark.py - Metric evaluation
scripts/evaluate.py - Static map output
Other components
- Sequence operator
- LiDAR sequence
Connections 22
- Sequence operator → Label generation: prepares labels
README.md - LiDAR sequence → Label generation: provides scans
- Sequence operator → Benchmark pipeline: runs benchmark
README.md - Benchmark pipeline → Map accumulation: invokes
README.md - Map accumulation → Dataset loader: loads frames
- LiDAR sequence → Dataset loader: provides sequence
README.md - Map accumulation → Accumulated map: writes accumulated map
- Benchmark pipeline → ERASOR2 runner: invokes
README.md - ERASOR2 runner → YAML configuration: loads YAML
src/erasor2/main.cpp - ERASOR2 runner → Dataset loader: loads frames
src/erasor2/main.cpp - ERASOR2 runner → Trajectory clustering: clusters trajectories
src/erasor2/main.cpp - ERASOR2 runner → Instance-aware filtering: runs filtering
src/erasor2/main.cpp - Instance-aware filtering → Occupancy grid: uses grid map
src/erasor2/erasor2.cpp - Instance-aware filtering → Point-cloud utilities: uses utilities
- Accumulated map → ERASOR2 runner: input map
README.md - ERASOR2 runner → Static map output: produces static map
README.md - Benchmark pipeline → Metric evaluation: invokes
README.md - Metric evaluation → Static map output: scores output
README.md - Benchmark runner → Benchmark pipeline: runs per config
README.md - Sequence operator → ERASOR v1: runs alternative
- Sensor preprocessing → LiDAR sequence: prepares sensor data
- ERASOR2 runner → Rerun visualization: logs visualization
src/erasor2/main.cpp