mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-12 03:41:36 +08:00
ekf2: height aid source consistency (#20405)
- working towards keeping all height source (baro/ev/gnss/rng) handling as consistent as possible, possibly refactoring these out into separate classes later
This commit is contained in:
@@ -118,7 +118,7 @@ void Ekf::controlHaglRngFusion()
|
||||
// The sensor can probably not detect the ground properly
|
||||
// declare the sensor faulty and stop the fusion
|
||||
_control_status.flags.rng_fault = true;
|
||||
_range_sensor.setFaulty();
|
||||
_range_sensor.setFaulty(true);
|
||||
stopHaglRngFusion();
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user