Skip to content

The codebase for my SLAM robot project based on my homemade LiDAR.

License

Notifications You must be signed in to change notification settings

antbern/gridmap-slam-robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gridmap SLAM Robot

This is the source code and some documentation for my differential drive robot. I've written a backend in Java using OpenGL to visualize the LIDAR readings and control the robot. The lidar unit is home made using a single TFMini sensor mounted on a rotating gear. The gear is driven by a stepper motor through a timing belt, and the signals are transfered using a cheap slip ring. Compared to the two VL53L1X laser ToF distance sensors previously used, the TFMini sensor uses a strong IR LED (and no laser) and can measure up to 12 meters at a rate of 100 Hz.

The robot is currently equipped with an ESP32 controlling the LIDAR stepper motor and the two DC motors for driving, as well as counting the motor encoder pulses and sending them back to the software running on the computer. The encoder count is then used as odometry control input to the SLAM algorithm. Communication with the host machine is done through WiFi which, together with a LiPo battery, makes the robot completely wireless!

In the future i intend to possibly move away from my own implementation of the SLAM algorithm to an existing one and maybe even to ROS.

Here is a link to an older video of the robot in action. As you can see, the implementation kind of works, but still need much improvement to be really useable. My goal is to eventually have a robot that can wander around autonomously, creating a map of the environment!

Useful links and resources on the subject

SLAM

ESP32

About

The codebase for my SLAM robot project based on my homemade LiDAR.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published