mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-04 13:15:08 +08:00
Enhancement: 0.3 for TFMini was too low, as TFmini outputs slightly more than 0.3 when it is very near to the ground.
This cause EKF not fallback to barometer in worst case.
This commit is contained in:
@@ -60,7 +60,7 @@ TFMINI::init()
|
||||
|
||||
switch (hw_model) {
|
||||
case 1: // TFMINI (12m, 100 Hz)
|
||||
_px4_rangefinder.set_min_distance(0.3f);
|
||||
_px4_rangefinder.set_min_distance(0.4f);
|
||||
_px4_rangefinder.set_max_distance(12.0f);
|
||||
_px4_rangefinder.set_fov(math::radians(1.15f));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user