I was out doing an auto Optical Flow calibration and it seemed to complete ok based on the logs.
I am using the following hardware:
Lightware SF/11C Range Finder (connected to GPS1 I2C)
PX4Flow (connected to I2C port)
I switched the drone into Optical Flow Loiter instead of GPS and it was okay for a couple of seconds until I was getting an “EKF Variance” error where it then entered failsafe mode and landed.
I have been fighting this issue for quite some time now. My suspicion is this:
My range finder seems to be glitching out jumping to 140m range every couple of seconds. I tried to combat this by adding a voltage regulator and powring directly from the board instead of the Pixhawk (no luck). The light ware software doesn’t seem to have an issue reading the data from the device so im kind of lost at this point.
If anyone has any ideas I would love to hear them, thank you!!!
Thank you for the response! I set up a support ticket with Lightware.
It’s strange that this range finder worked with my other setup (Navio 2) and it also works in the Lightware studio when I plug in via USB. I’m not sure if I’m too convinced that it is the range finder.