mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 11:13:34 +08:00
Correct height fusion flag when using sensor other than baro
This commit is contained in:
committed by
Paul Riseborough
parent
6d20a426e0
commit
d3bad9fdb0
@@ -406,6 +406,8 @@ bool Ekf::initialiseFilter(void)
|
||||
}
|
||||
}
|
||||
|
||||
// warnx("_params.fusion_mode & MASK_USE_EVPOS %d", (int)(_params.fusion_mode & MASK_USE_EVPOS));
|
||||
// warnx("_primary_hgt_source == VDIST_SENSOR_EV %d", (int)(_primary_hgt_source == VDIST_SENSOR_EV));
|
||||
// set the default height source from the adjustable parameter
|
||||
if (_hgt_counter == 0) {
|
||||
if (_params.fusion_mode & MASK_USE_EVPOS) {
|
||||
|
||||
Reference in New Issue
Block a user