I am trying to set up a LidarLite sensor from PulsedLight.
I set it up according to the wiki (new sensor, manufactured Feb 2015, interfaced with a Pixhawk)
In the wiki it points to the Flight Data Screen to test the sensor,
but I only get zero as reading in this window.
But if I check in the terminal,
I can see that the sensor is working (see attached file),
so is it working ok? Is the wiki wrong?
Thanks a lot,
Felix, good thought - The 5V supply is looking clean, coming from a BEC. I think I just discovered the fix, posting below.
Measurements are pretty exact and I don't want to miss it anymore
I also tested a LidarLite V2 on I2C with the same Pixhawk running AC3.3.2 with similar (correct) measurements.
I have also set
RNGFND_SCALING = 1
RNGFND_OFFSET = 0
as you did.
Has lidar been tested with 3.3 stable?
Is any one using lidar and optical flow- PX4flow- successfully?
Do I need to set a flight mode to use lidar or does it automatically over ride the barometer in the flight modes?
the Lidar is used in flight modes which have height control, such as Altitude Hold, Loiter and PosHold Mode.
The data from the sensor will be used until you exceed RNGFND_MAX_CM, after that it switches to the barometer.
Currently Lidar is not supported in Auto Mode.
When will Lidar be supported in auto-mode? The obvious use for something like this is to ensure precise altitude control when flying automated grid flights over an area of interest with cameras or sensors.
When I read throught the arducopter lidar set page I did not see this important piece of information. Maybe it should be there in one of the highlighted bubbles so it can not be easily missed.
I have added a note to this wiki page in copter
I do have the same issue as others have posted here after installing my brand new LidarLite I purchased form UAV Store in Grmany - I get a "Bad Lidar Health" message in MP, and Sonar Range and Sonar Value shows 0 with no data being read.
My LidarLite has a manufacturing datre of March 2015. I am running Arducopter 3.3.
I followed exactly the instructions in the Wiki, connected via PWM. The Servo Rail is powered via the BEC of my ESC. I checked the correct wiring and parameter setting multiple times.
Since everything else works fine with AC3.3, I am wondering if the sensor is defect.
Is there any way how I can test whether the Lidar is working or not?
Is there a possiblility to reset the sensor?
can you confirm that you connected the two cables to the correct AUX ports?
did you see the video regarding the sensor? https://www.youtube.com/watch?v=FUT-ZsKGtxI&feature=youtu.be
otherwise you can send it as well back and I'll test it for you.
Felix (from UAV store)