mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 13:57:35 +08:00
Merge pull request #231 from pickledgator/ev_hgt_counter_fix
height counter update for ev primary height source
This commit is contained in:
+1
-1
@@ -335,7 +335,7 @@ bool Ekf::initialiseFilter()
|
||||
}
|
||||
|
||||
} else if (_primary_hgt_source == VDIST_SENSOR_EV) {
|
||||
// do nothing becasue vision data is checked elsewhere
|
||||
_hgt_counter = _ev_counter;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user