Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 390 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 390 Bytes

usb-lidar

linux demo programs for lanhai 2d lidar

compile

souce ./build.sh #compile the demo programs

plug lidar usb port, make sure /dev/ttyUSBx existed, add read / write attribution

sudo chmod 666 /dev/ttyUSB0

for LDS-50C-2

./bin/uart-demo params/LDS-50C-2.txt

for LDS-50C-2

./bin/uart-demo params/LDS-50C-2.txt

for LDS-50C-C20E

./bin/udp-demo params/LDS-50C-C20E.txt