Open 60ericleal60 opened 4 years ago
Can you share a flight log? https://logs.px4.io/
I don't see the distance listed in the log. Did you fly high enough for the distance to be measurable. Have you tried to check mavlink telemetry for the distance sensor?
The minimum height for the range sensor is set to 0.05m which is less than the height of the landing gear and yes the range output in the mavlink inspector appears to be correct. I am having the problem in 1.11 but not 1.10. For flight I have been modifying the firmware on the px4 flow board and pixhawk to fly very near the ground.
So even with 1.11/master you see the lidar information in MAVLink but not in the log?
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.
I am preparing for flight with the master build forked from a week age and am getting poor altitude estimations I would expect if the vehicle lacked a range sensor. The correct distance is in the Mavlink inspector, range_aid is enabled and ekf2_hgt_mode is set to range sensor. I am using the lidar lite v3 in i2c mode.
With the same vehicle parameters in the 1.10.0 release build a good altitude estimation with the correct bottom clearance.