MonoMapper
Tiago robot mapping a house guided by a single camera
A robot that explores a home on its own by following the walls, guided by an ordinary camera that AI gives a sense of distance, and delivers the floor plan at the end.
Key result
Depth from a single RGB camera with a median error of 0.23 m (6.1 %) at 10 Hz, measured over 170,467 pixels
The problem
The laser on many mobile robots sweeps a single horizontal plane: it misses steps, furniture legs and low objects. A camera sees the whole scene, but an ordinary camera does not measure distance.
The solution
With the Tiago robot in simulation:
- Monocular depth: a neural network (Depth Anything V2, metric indoor variant) turns the head camera image into a distance map in metres, in the same format as a depth camera. It was validated pixel by pixel against the simulator’s true depth.
- Avoiding obstacles with the camera: the “move forward and turn at an obstacle” behaviour uses that depth instead of the laser.
- Autonomous mapping: the robot looks for a wall, follows it around the house, turns at the corners, closes the loop, returns to its starting point and saves the floor plan. Motion is decided only from the camera depth; the laser is kept for building the map (SLAM).
Why it matters
A camera is far cheaper than a depth sensor and sees obstacles the laser misses. It is a first step towards service robots in hospitals, care homes or houses.
Status
Proof of concept in simulation.
Credits
Builds on the environment of the book A Concise Introduction to Robot Programming with ROS 2 (Francisco Martín Rico) and on PAL Robotics’ Tiago simulation. The Depth Anything V2 model belongs to its authors. The monocular depth on the robot, its validation and the autonomous mapping are original work.
Videos
Images
-
Chosen depth model and accuracy measured against the simulator's true depth (in Spanish)