Steps to use the RPLIDAR¶
Environment Setup used :¶
Host operating system : Windows 10 (64-bit)
Oracle Virtual box Version 6.1
Os in virtual machine : Ubuntu 18.04 (64-bit)
Prerequisites:¶
RPLIDAR SDK must be downloaded, you can also find more information in Slamtech Support.
Make cmd must be installed,
- Steps to install make in Ubuntu OS:
◦ sudo apt-get install build-essential ◦ sudo apt-get update
Steps to run RPLIDAR-A3 SDK¶
Extract the RpLidar SDK
Go the the root SDK folder and run cmd : make
Go to sdk/output/Linux/release folder stucture.
Run application along with the arg - driver path : program drv ./ultra_simple /dev/ttyUSB0
Expected Output:¶
Expected Issues:¶
For bind errors follow the steps
cmd: sudo chmod 666 /dev/ttyUSB0
- specify the baud rate 256000 as a second argument
eg: example_program /dev/ttyUSB0 256000