mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 04:03:33 +08:00
gps_alt: rename getGpsAltVar -> getGpsHeightVariance
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ void Ekf::initialiseCovariance()
|
||||
P(9,9) = sq(fmaxf(_params.range_noise, 0.01f));
|
||||
|
||||
} else if (_control_status.flags.gps_hgt) {
|
||||
P(9,9) = getGpsAltVar();
|
||||
P(9,9) = getGpsHeightVariance();
|
||||
|
||||
} else {
|
||||
P(9,9) = sq(fmaxf(_params.baro_noise, 0.01f));
|
||||
|
||||
Reference in New Issue
Block a user