Ubuntu Install:
- Download the RaspberryPi Imager (or install with your package manager on linux): https://www.raspberrypi.com/software/
- Select your RaspberryPi Device with the 'Choose Device' button
- Click on 'Choose OS' -> Scroll down to 'Other general-purpose OS' -> Select Ubuntu -> Scroll down and select Ubuntu Server 20.04.5 LTS (64 or 32 bit depending on your RaspberryPi)
- Select your SD card with the 'Choose Storage' button and write the image
- After the writing is done, put the SD card into your RaspberryPi
- After you boot into the system (username: ubuntu, password: ubuntu) you will need to change the password
- After the password is changed type in:
sudo apt install ubuntu-desktop
- After the installation is done just reboot the device
sudo shutdown -r now
- Clone this repo
git clone https://github.com/Rajmi105/ydlidar_ros_drivers.git
- Copy the installer script to your home folder
cp ~/ydlidar_ros_drivers/ydlidarinstaller.sh ~/
- Run it
bash ydlidarinstaller.sh
- This will install everything you will need and also it will start the mapping program
- To start the mappin again type
roslaunch ydlidar_ros_driver lidar_view.launch