mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 22:23:35 +08:00
EKF: Enable height source to be selected independent of EV aiding
This commit is contained in:
+1
-1
@@ -204,7 +204,7 @@ void Ekf::resetHeight()
|
||||
// TODO: reset to last known gps based estimate
|
||||
}
|
||||
|
||||
} else if (_control_status.flags.ev_pos) {
|
||||
} else if (_control_status.flags.ev_hgt) {
|
||||
// initialize vertical position with newest measurement
|
||||
extVisionSample ev_newest = _ext_vision_buffer.get_newest();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user