Skip to content
← Projects

Project

Quadruped Sensor Fusion Rig

Part of Vveer Motani's portfolio · Robotics & Physical AISee everything →

A quadruped that records LiDAR, depth, IMU and leg odometry on one clock, and turns a walk through a building into a measured 3D map of every floor it visited.

building#robotics#lidar mapping#sensor fusion
Walk
303 s
Path
130 m, 2 floors
Back to start
0.16 m
Map
9.55 M points

Built withPythonROS 2Open3DNumPyDockerFoxglove

Two building floors mapped as a 3D point cloud, coloured by height, with the robot's path in white

Two floors mapped in one five-minute walk by a quadruped carrying a Hesai XT16 LiDAR: 9.55 million points on a 2 cm grid.

Problem

A robot that explores a building needs a map it can trust. The Go2's own leg odometry isn't enough: on the walk below it ended 2.56 m from where it started and never registered climbing a floor. The map has to come from the sensors, and that only works if every sensor is recorded on the same clock.

Setup

Robot Unitree Go2 EDU, with its onboard Jetson computer
LiDAR Hesai XT16: 16 beams, 360°, 10 Hz, on the robot's back
Depth camera Intel RealSense, depth and colour at 15 fps
Also recorded The robot's IMU (500 Hz) and leg odometry

Approach

  1. Record on the robot. A recorder on the Jetson stamps every LiDAR packet, IMU sample, odometry message and depth frame with the robot's clock. It is driven from a web page the robot serves.
  2. Line up the clocks. The LiDAR's clock runs on its own, so it is fitted onto the robot's: a drift of −34.9 ppm, with a worst residual of 0.04 ms.
  3. Build the map. Each scan is aligned to the map built so far with point-to-plane ICP. Where the track revisits a place, a pose graph closes the loop and spreads the correction along the whole walk.
  4. Process anywhere. One Docker image turns a recorded walk into a dense point cloud, floor plans and a mesh, offline, with no ROS install on the laptop.

Results on one walk

Recording 303 s; 3,036 LiDAR scans and 4,523 depth frames, none dropped
Path 130 m, including two flights of stairs; two floors 3.6 m apart
Track Returns to 0.16 m of its start; leg odometry alone ends 2.56 m away
Loop closure 15 of 17 revisits accepted
Map 9.55 M points on a 2 cm grid, with a floor plan for each level

My part

I set up the robot and its sensors, chose the LiDAR settings, ran the test walks and worked through the design: how the sensor clocks are synchronised, and how ICP scan matching and loop closure correct drift.

Limits and next steps

Maps are built after the walk, and someone drives the robot. The next step is live SLAM on the robot, then occupancy grids, path planning and frontier-based exploration, so the robot can map a building it has never seen with nobody driving.

Figures

Inside a point-cloud corridor: blue floor, green and yellow walls, red ceiling

Inside the map: the ground-floor corridor as the LiDAR reconstructed it, every scan aligned and cleaned.

Two charts: leg odometry drifting away from the scan-matched path, and staying flat while the robot climbs a floor

Why the map can't come from the robot's own odometry: it drifts up to 6 m and never notices the climb to the next floor. Scan matching returns to within 0.16 m of the start.

Diagram: what the robot records, and the processing steps inside one Docker image

From a walk to a map: record on the robot, process in one Docker image, open in Foxglove or CloudCompare.