gps_alt: rename getGpsAltVar -> getGpsHeightVariance

This commit is contained in:
bresch
2020-12-13 14:39:50 +11:00
committed by Paul Riseborough
parent 62f2e26c49
commit b0cf45e2d2
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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));