aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fw_att_pos_estimator/estimator.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-03-18 09:19:57 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-03-18 09:19:57 +0100
commit03ccee289ba6484a889ed6f79fd744b412bc8537 (patch)
tree205d53093b6bcf5a095692b0459b4ceac5cd2fac /src/modules/fw_att_pos_estimator/estimator.h
parent37513eaafa80d030ca6f8157f10404608f40fb8a (diff)
downloadpx4-firmware-03ccee289ba6484a889ed6f79fd744b412bc8537.tar.gz
px4-firmware-03ccee289ba6484a889ed6f79fd744b412bc8537.tar.bz2
px4-firmware-03ccee289ba6484a889ed6f79fd744b412bc8537.zip
Numerical checks on covariances
Diffstat (limited to 'src/modules/fw_att_pos_estimator/estimator.h')
-rw-r--r--src/modules/fw_att_pos_estimator/estimator.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/modules/fw_att_pos_estimator/estimator.h b/src/modules/fw_att_pos_estimator/estimator.h
index 43bd69793..b8b218e39 100644
--- a/src/modules/fw_att_pos_estimator/estimator.h
+++ b/src/modules/fw_att_pos_estimator/estimator.h
@@ -121,10 +121,19 @@ extern uint8_t GPSstatus;
extern float baroHgt;
extern bool statesInitialised;
+extern bool numericalProtection;
const float covTimeStepMax = 0.07f; // maximum time allowed between covariance predictions
const float covDelAngMax = 0.02f; // maximum delta angle between covariance predictions
+extern bool staticMode;
+
+enum GPS_FIX {
+ GPS_FIX_NOFIX = 0,
+ GPS_FIX_2D = 2,
+ GPS_FIX_3D = 3
+};
+
void UpdateStrapdownEquationsNED();
void CovariancePrediction(float dt);
@@ -175,5 +184,7 @@ void ConstrainVariances();
void ConstrainStates();
+void ForceSymmetry();
+
uint32_t millis();