Raspberry Pi Robot Maps Its World with LiDAR

Raspberry Pi
(Image credit: S Lab)

Autonomous Raspberry Pi robots navigate their environment without bumping into things. Using an ultrasonic sensor, such as the HC-SR04, to detect obstacles is a fairly common tool for Pi-based robots and cars but this robot car project, created by maker and developer エス ラボ (S Lab), is going even further by mapping out a room with the help of a LiDAR sensor.

The car has a Raspberry Pi 4 4GB at its core and as it drives around, LiDAR sensor data is transmitted from the Pi to a nearby PC which uses a SLAM-based (simultaneous localization and mapping) system to create a virtual, 3D replica of the room surrounding the Raspberry Pi. The program also provides a virtual representation of the car in Unity to estimate its position in the room.

Ash Hill
Contributing Writer

Ash Hill is a contributing writer for Tom's Hardware with a wealth of experience in the hobby electronics, 3D printing and PCs. She manages the Pi projects of the month and much of our daily Raspberry Pi reporting while also finding the best coupons and deals on all tech.