Basic Obstacle Avoidance Robot
- "jSerialComm" is required on the RasberryPi to communicate with the arduino (run
wget https://github.com/Fazecast/jSerialComm/releases/download/v2.6.2/jSerialComm-2.6.2.jar
to install)
Lidar (RPLIDAR A1M8)
To verrify, that the lidar is connected to the RasberryPi you can run ls /dev/ttyUSB*
this should display somthing like: /dev/ttyUSB0
To connect the Lidar to a Windows machine, you need to install the drivers, and then start the program.
- Install drivers (either 64x or 84x)
- Connect Lidar to computer via USB
- Find out COM port of Lidar
- The Lidar should show up in ports tab in device manager as
Silicon Labs CP210x USB to UART Bridge
+ the com port. - If it does not show up, the drivers are not installed correctly (A restart is required after driver instalation!)
- The Lidar should show up in ports tab in device manager as
- Download and open the latest version of frame_grabber.exe
- Open frame_grabber.exe and select COM port of Lidar