LIDAR Lite
John Abshier
Posts: 1,116
Progress on this will be slow since the weather is getting nice and I will spend more time shooting and traveling. Attached object and demo reads range in centimeters and inches and velocity in centimeters per second. Velocity not really tested. Range testing so far is limited to range from table to ceiling and seeing if it changes when I place my hand over the LIDAR Lite. Occasionally there is a one shot reading that is way off. I am not sure why the code is so slow, a call to get range in centimeters is running at 8 Hz. I am posting code now because I saw that Diver Bob just bought this sensor.
John Abshier
P.S. Latest version in post #11
John Abshier
P.S. Latest version in post #11
Comments
I also have a 360 degree one from the roomba or some other vacuum bot. TTL and HEX make that one work. Im trying these on my autonomous tri-copter. I think collaboration would benefit us all.
I thought the microcontroler must be the master, and the sensor must be the slave? That's how mine is working, Prop asks for next reading.
im sick but will contact them.
http://code.google.com/p/propforth/wiki/LIDARLite#I2C
In any case, Ive wasted a lot of time muddling through the STM32. And the LiDAR was a sample for academic purposes for flight. So I owe Dennis a full demo for flight and other purposes. I have high hopes for the propeller, since this IC is so heavily adapted to interrupt-less embedded work.
Kick Starter : https://www.kickstarter.com/projects/215756405/uav-for-humanitarian-aid-and-environmental-researc
IARC mission 7 : http://aerialroboticscompetition.org/
Bin Frequency
160 0
161 2
162 5
163 19
164 39
165 49
166 48
167 32
168 36
169 12
170 12
171 1
1190 1
You can see the one way out reading. A histogram of the rest look "normalish" I didn't do any statistical tests for normality. Mean 166, standard deviation 2 (not including the 1190 reading). I implemented an offset or zero method but am getting results I don't understand. I have a support ticket opened with Pulsed Light
John Abshier
John Abshier
Raw-Filter.rtf
John Abshier
John Abshier