EKF: Code format fix - replace 1E-x with 1e-x

This commit is contained in:
Paul Riseborough
2020-10-06 20:50:52 +11:00
committed by Paul Riseborough
parent e82d0af6d2
commit f666ebb995
11 changed files with 37 additions and 37 deletions
+2 -2
View File
@@ -890,12 +890,12 @@ void Ekf::fixCovarianceErrors(bool force_symmetry)
for (int i = 4; i <= 6; i++) {
// NED velocity states
P(i,i) = math::constrain(P(i,i), 1E-6f, P_lim[1]);
P(i,i) = math::constrain(P(i,i), 1e-6f, P_lim[1]);
}
for (int i = 7; i <= 9; i++) {
// NED position states
P(i,i) = math::constrain(P(i,i), 1E-6f, P_lim[2]);
P(i,i) = math::constrain(P(i,i), 1e-6f, P_lim[2]);
}
for (int i = 10; i <= 12; i++) {