Open-source · Apache-2.0 · ROS 2 native

Robot LiDAR Fusion.
Honest perception for real robotics work.

An open-source robotics stack for building autonomous systems with LiDAR-camera fusion. A practical foundation for perception, navigation, obstacle avoidance, motion coordination, and safety-oriented control in real-time robotic environments.

Built by engineers who have felt the pain of impressive-demo repos that fall apart on real hardware. Every line of code, every diagram, and every claim here is written with one goal in mind: trust.

License Apache-2.0Python 3.11+PyPI · robot-lidar-fusionCI · passingROS 2 nativeCode style · ruff
Why this repository exists

Robotics teams keep rebuilding the same fragile integration layers.

Sensor ingestion, timestamp alignment, calibration handling, state verification, safety checks, planning hooks, deployment scripts — the layers where projects become fragile. Robot LiDAR Fusion exists to reduce that friction by providing a serious, readable, and reproducible foundation for LiDAR-camera perception and ROS 2-native autonomy — without pretending that robotics becomes easy.

Design Principle

Reproducibility first

Every build, test, package, and release is repeatable — locally, in CI, and inside containers.

Design Principle

Humility over hype

The documentation tells the truth about current state. Mature subsystems are labeled mature; in-development ones are not disguised.

Design Principle

Robotics value first

Perception, planning, and validation always come before surface polish or cosmetic features.

Design Principle

ROS 2-native, not only

ROS 2 is the intended runtime, but local ergonomics still matter so you can iterate without the full stack.

What the repository offers today

Discipline first. Algorithms next.

The current strength lies in project discipline and architecture scaffolding. Packaging, CI/CD, security scanning, and modular organization are well-organized and reproducible. Deeper algorithms are still maturing — and the table below tells you exactly which is which.

Capability
Current State
Python packaging & release process
Fully present
CI checks (lint, test, security)
Fully present
Ruff, Black, pytest, security scan
Enforced
ROS 2 integration path
Optional but native
Direct sensor ingestion path
Present
LiDAR→camera projection (KITTI loader, occlusion)
Working · tested
Calibration diagnostics CLI (bring-your-own data)
Working · tested
Mapping & navigation stack
Planned next-stage
Simulation, benchmarks, telemetry
Planned next-stage

Great robotics software is not only about clever algorithms. It is about whether another engineer can install it, understand the assumptions, run the checks, and reproduce the results.

System Architecture

ingest → synchronize → fuse → understand → plan → act → verify

The repository is organized around a clear robotics data chain. Sensor data enters through ROS 2 or direct drivers, is aligned in time and space, fused into a coherent scene estimate, and handed to planning and control. Verification is never an afterthought — it continuously feeds back into perception and planning so the robot never continues blindly when assumptions degrade.

01

Sensor Sources

LiDAR · RGB Camera · Depth · IMU · Encoders

02

Sensor I/O Layer

Direct SDK or ROS 2 topics

03

Timestamp Alignment

Time sync and frame normalization

04

Fusion Pipeline

Point cloud + image + state cues

05

World Representation

Obstacles, objects, traversability

06

Planning Layer

Mission · navigation · task mapping

07

Control Layer

Joint sync · locomotion · command output

08

Verification Loop

Telemetry, logs, health signals, feedback

Layer
Core Responsibility
Sensor I/O
Acquire frames and point clouds from ROS 2 or direct drivers
Time & frame handling
Align timestamps and normalize reference frames
Fusion
Combine heterogeneous sensor observations into a coherent scene
Planning
Turn perception output into navigation and task decisions
Control
Convert decisions into bounded, safety-checked robot commands
Verification
Detect hazards, stale data, and inconsistent execution
Chain of reactions & safety logic

The most important logic lives in the reactions between subsystems.

What happens when a frame arrives late, a transform is invalid, or a hazard suddenly appears? The reaction chain makes safety visible and deliberate. The system verifies trust in inputs, then timing and calibration, then scene risk — and only then produces control output. If execution becomes inconsistent, it degrades gracefully instead of hiding the problem.

01
New sensor cycle beginsEach cycle starts by collecting the latest sensor frames and acquiring system time.
02
Are inputs present and recent enough?If not — raise a degraded-state event and fall back to slow-down, hold, or safe-stop.
03
Time-sync and transform validity checkCalibration and timing must pass. Otherwise, refuse downstream fusion until assumptions are restored.
04
Run fusion and scene updateCombine point cloud and image observations into a unified world representation.
05
Hazard or obstacle detected?If risk exceeds threshold → emergency or protective action. Otherwise → replan with updated constraints.
06
Control command generationBounded commands are generated within the constraints active for this cycle.
07
Actuator synchronizationCoordinate commands across actuators; verify timing assumptions hold at the wire.
08
Consistency verificationDid execution match intent? Otherwise → degrade, hold, or recover.
09
Publish telemetry and continueHealthy cycle. Telemetry recorded. Loop back to step 01.

Reaction-stage summary

Stage
Expected Behavior
Missing or stale input
Mark cycle degraded and avoid unsafe decisions
Invalid timing/transforms
Refuse downstream fusion until assumptions restored
Detected hazard
Update risk state before planning/control continues
Failed execution verification
Hold, stop, or enter bounded recovery path
Healthy cycle
Publish telemetry and continue deterministically

Safety is the contract — degrade gracefully, never silently. Every stage either passes its gate cleanly or surfaces the failure mode in a way that planning and control can react to.

Repository layout

Intentionally clear. Built to extend.

robot-lidar-fusion/
├── robot_hw/
│   ├── ai/
│   ├── control/
│   ├── core/
│   ├── perception/
│   ├── planning/
│   ├── power/
│   ├── robot_config.py
│   ├── robot_orchestrator.py
│   ├── simulation.py
│   └── stress_simulation.py
├── calibration/         # intrinsics, extrinsics
├── config/
├── docs/
├── examples/           # demos, replays, bring-up
├── gateway/            # placeholder — not implemented
├── enterprise/         # placeholder — not implemented
├── scripts/
├── tests/              # unit + integration
├── .github/workflows/  # CI/CD
├── Dockerfile
├── docker-compose.yml
├── Makefile
├── pyproject.toml
└── README.md

What each directory does

Directory
Purpose
robot_hw/perception
Sensor I/O, time sync, fusion logic
robot_hw/planning
Mission sequencing, navigation, task mapping
robot_hw/control
Command generation and actuator coordination
robot_hw/core
Hazard handling, communication, consistency checks
calibration/
Intrinsics, extrinsics, calibration assets
tests/
Unit and integration coverage
docker-compose.yml
Multi-container orchestration
Makefile
Build automation and common tasks
Installation & quick start

Prove the foundation is solid before diving deeper.

Python 3.11, 3.12, and 3.13 are supported. ROS 2 is optional — local development stays frictionless while the runtime remains truly ROS 2-native.

1. Clone and bootstrap

git clone https://github.com/iceccarelli/robot-lidar-fusion
cd robot-lidar-fusion
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -e ".[dev]"

2. With ROS 2 extras

pip install -e ".[dev,ros2]"

3. Containerized (recommended)

docker compose up --build

Verify the install

# Install in development mode
pip install -e ".[dev]"

# Run the full quality suite
make test           # or: pytest -v
make lint           # ruff + black
make build          # package artifacts

# Container validation
make docker-build

What each step checks

Step
Why It Matters
make test
Confirms behavior still holds
make lint
Keeps code clean and reviewable
make build
Confirms the package is releasable
make docker-build
Validates container reproducibility
Supported workflows

Five paths through the same stack.

Workflow
Intent
Local development (no ROS 2)
Build, test, lint, and package cleanly
ROS 2-native execution
Use topics and launch files as the primary integration path
Direct sensor experimentation
Target vendor SDKs when needed
Replay-driven validation
Deterministic inspection of perception pipelines
Containerized validation
Reproduce runtime in a clean environment
Development & release discipline

Trust comes from consistency.

A release here means the source code, package version, Git tag, release notes, container image, and documentation all describe the exact same state.

Release Requirement

Version & tag alignment

Prevents drift between artifacts

Release Requirement

CI enforcement

Protects against regressions

Release Requirement

Container validation

Makes debugging and deployment reproducible

Release Requirement

Honest documentation

Sets correct expectations for users

Roadmap

Six deliberate stages, measured one at a time.

1
Stage 1 ✓ COMPLETEPackaging, metadata, version truth, workflow discipline
2
Stage 2 ✓ COMPLETEIntegrated CI with linting, tests, security, and build validation
3
Stage 3 → IN PROGRESSReproducible demos, launch files, replay, and RViz configuration
4
Stage 4 → IN PROGRESSReal LiDAR-camera fusion with calibration, sync, transforms, and object-level fusion
5
Stage 5 PLANNEDMapping, costmaps, planning, and Nav2-compatible workflows
6
Stage 6 PLANNEDSimulation adapters, benchmarks, regression artifacts, and telemetry
Live repository signals

Streamed from the canonical source of truth.

Loading live repository signals…

—Stars
—Forks
—Open Issues
—Latest Release
Latest release

Loading release data…

Recent commits

Latest development activity

Loading commit history…

Contributing

The best contributions are quiet but powerful.

Better replay tooling, improved fusion logic, stricter tests, clearer documentation. Ask yourself one question: does this change make the repository more useful for real robotics work? If the answer is yes, you are in the right place.

This repository is still growing — and that is part of its value. It is being built in the open, with deliberate focus on both the algorithms and the engineering habits around them. The hope is that Robot LiDAR Fusion becomes the kind of repository engineers return to because it is useful, honest, steadily improving, and — most importantly — trustworthy.

Welcome aboard. Let's build something solid.