I installed a Benewake TF02 to experiment with Train Following. All the parameters are set as recommended in the TF02 manual and all worked well on the bench.
At the test flight all was not well. In Loiter mode if the altitude exceeded the TF02 outdoor range (5 meters in my case) I would get a “Bad LiDAR Health” message and immediately lose GPS and Compass (EFK error) which caused a EKF Fail Safe - AltHold. Had to switch to Acro or Stabilize and land. Tried this several times with exact same result.
It seems like there is a problem when the system has to switch from Range Finder altitude reading to Barometer.
I would appreciate if our experts here could help me with this issues since as is, this LiDAR unit cannot be used.
My heli is a Trex 700/800 Gasser with Pixhawk 2.1- V3.5.7 flying well in all Flight Modes.
All the LiDAR related parameters that I changed are;
Serial2Baud = 115 (Telemetry 2)
Serial2Protocal = 9 (Lidar)
RNGFND_MAX_CM=500 (above 6 meters I get a “bad Lidar Health” msg
RNGFND_TYPE=8 (according to manual)