Install and Run Lidar on Raspberry Pi and ROS – Linux Ubuntu Mate Solution
#robotics #slam #lidar #perception #perceptron #ros #controltheory #mechatronics #urdf #machinelearning #electricalengineering #automation #industrialrobotics #industrialrobots #Rviz #machinelearning #signalprocessing #electricalengineering
It takes a significant amount of time and energy to create these free video tutorials. You can support my efforts in this way:
– Buy me a Coffee: https://www.buymeacoffee.com/AleksandarHaber
– PayPal: https://www.paypal.me/AleksandarHaber
– Patreon: https://www.patreon.com/user?u=32080176&fan_landing=true
– You Can also press the Thanks YouTube Dollar button
Hello everyone, in this robotics, mechatronics, and robot operating system tutorial we explain how to install and use a Lidar in Raspberry Pi. In particular, we are using Slamtec RPLIDAR A1M8, and we are using Raspberry Pi version 4 with 4 gigabytes of RAM.
The operating system installed on Raspberry pi is the Ubuntu MATE Linux version that is installed on top of the Ubuntu 20.04 Server. The Ubuntu MATE Linux distribution is a lightweight version of Ubuntu suitable for computers with limited resources such as Raspberry Pi. We are using ROS version 1 Noetic, and we are running the standard ROS package for this Lidar.
We do teach and do real robotics and not “pen and paper” theoretical robotics:
Here is a tutorial on how to install and run a “low-cost” lidar (Slamtec A1M8) on Raspberry Pi 4 microcontroller. It took me several days to test different Linux distributions in order to figure out which one will NOT clog and overload the Raspberry Pi 4 microcontroller, such that we can run a Robot Operating System (ROS) lidar node. The main issue is that the standard Ubuntu versions (20 and 22) will consume all the Raspberry Pi 4 resources and cannot run ROS smoothly. Consequently, we need to use lightweight Linux distributions.
Issues/Conclusion:
– As the video shows, the combination of Ubuntu Server and Ubuntu Mate will work, and can run the lidar ROS test node.
– I am not able to install ROS on native raspberry Pi OS.
– Standard Ubuntu 20 and 22 will not work.
– I also tested the combination of Ubuntu Server and Xubuntu-desktop and it works.
I also want to try to install Ubuntu an external USB SSD disk, and to run the lidar node from there. Probably, SSD disks are faster than Micro SD cards.
ubuntu
It takes a significant amount of time and energy to create these free video tutorials. You can support my efforts in this way:
– Buy me a Coffee: https://www.buymeacoffee.com/AleksandarHaber
– PayPal: https://www.paypal.me/AleksandarHaber
– Patreon: https://www.patreon.com/user?u=32080176&fan_landing=true
– You Can also press the Thanks YouTube Dollar button