cocasema / ros-lidar-lite

Driver and ROS node for LIDAR Lite v3
MIT License
4 stars 5 forks source link

How to use this code #1

Open weiqil opened 6 years ago

weiqil commented 6 years ago

Hi, Thank you for your sharing. But would you mind helping me to use this drive? I have a lidar lite v3 in hand and I want to get data from it using my PC, with Ubuntu installed. But when I run the code, I get error like this: I2C: Failed to write data to register 0x00: 9-Bad file descriptor [ERROR] [1533632560.636237716]: Failed to write 0x04 to 0x00 [ERROR] [1533632560.636255662]: Failed to read distance - setting bias correction

How can I get data from the sensor with this drive? Thanks a lot!

cocasema commented 6 years ago

@weiqil I have only tried running it on odroid C2 board, but not on PC.

AlexHoffman9 commented 5 years ago

I used to get errors like that but it was because my i2c interface was broken, not the lidar_lite node. Make sure your wiring is good and you have i2c enabled on your PC