Quote:
Originally Posted by khannasusa
We are trying to Use Lidar-Lite we bought last year to integrate with a simple labview project to measure distance.
On our RoboRio, a Navx is connected to the MXP port. On the Navx I2C port, we have connected Lidar wires.
Wires from Lidar
1) Red Pin1 to Navx I2C + pin
2) Pin 6 GND to Navx I2C GND Pin
3) Pin 4 SCL to Navx I2C SCL Pin
4) Pin 5 SDA to Navx I2C SDA Pin
Attached are images which show LV open and read distance logic.
We are constantly getting errors from read operation -
<b>Complete call chain:</b>
i2clib_write.vi
WPI_I2CWrite.vi
Lidar Controller.vi
SubSystems.vi
Robot Main.vi
ERROR -1 i2clib_writeread.vi<ERR>
No such device or address
Can someone please help us what we are doing wrong?
thanks
sanjay
|
I also just bought the lidar lite and am have a lot of trouble getting it to work withthe roborio. I found some other sources but have not had any luck with them
here is some example code
http://www.chiefdelphi.com/forums/sh...0&postcount=44
also some people had luck with pull up resistors
http://www.chiefdelphi.com/forums/sh...d.php?t=135043
let me know if you have any luck. Can you get yours to work with an arduino example? Mine always reads 0