SYS-01 · Robotics

Autonomous LiDAR-SLAM Indoor Cleaning Robot

Low-cost differential-drive indoor robot performing onboard 2D occupancy grid SLAM and deterministic obstacle avoidance in Webots simulation and physical runs.

Key Outcome

Real-time onboard 2D occupancy grid SLAM (400 × 400 grid @ 0.05 m resolution) + Webots & physical hardware validation

  • ROS2
  • Python
  • Raspberry Pi
  • RPLIDAR
  • MPU-9250 IMU
  • HC-SR04
  • Webots
  • libgpiod
Autonomous LiDAR-SLAM Indoor Cleaning Robot

Problem

Low-cost indoor mobile robots require deterministic, explainable obstacle avoidance and spatial mapping without relying on heavy offboard compute.

Approach

Designed a double-floor, three-wheel differential-drive chassis driven by an L298N motor controller and Raspberry Pi (gpiochip4). Integrated a top-mounted 360° RPLIDAR (/dev/ttyUSB0) for long-range mapping, a front HC-SR04 ultrasonic sensor (< 0.35 m safety override, SAFE_DIST = 0.35 m in control code), dual side IR sensors for wall-following reflexes, and a dual-motor rolling cleaning brush underneath. Validated navigation in Webots (house.wbt) before physical deployment.

Results

Achieved autonomous exploration, dynamic obstacle avoidance, and incremental ray-traced occupancy grid mapping (400 × 400 grid at 0.05 m resolution) across both Webots simulation and physical indoor runs.

What Went Wrong

Operating via dead-reckoning kinematics without wheel encoders caused rotational pose drift on real floors, producing uneven map boundaries that idealized Webots simulations did not reveal.

What I Learned

These findings on our physical deployment indicate that IMU and wheel-encoder sensor fusion alongside loop-closure optimization are critical to consider when bridging simulation to physical deployment.

Interactive Simulation

2D Occupancy Grid & Pose Trajectory

OccupiedFreeDead-reckoning pose drift causes skewed wall alignment
Illustrative visualization, not measured data

Photo Gallery // 3 Assets

Links & Artifacts

Code / artifacts being prepared for release.