|
|
|
@ -248,6 +248,14 @@ public:
@@ -248,6 +248,14 @@ public:
|
|
|
|
|
// returns the time of the last yaw angle reset or 0 if no reset has ever occurred
|
|
|
|
|
uint32_t getLastYawResetAngle(float &yawAng); |
|
|
|
|
|
|
|
|
|
// return the amount of NE position change due to the last position reset in metres
|
|
|
|
|
// returns the time of the last reset or 0 if no reset has ever occurred
|
|
|
|
|
uint32_t getLastPosNorthEastReset(Vector2f &pos); |
|
|
|
|
|
|
|
|
|
// return the amount of NE velocity change due to the last velocity reset in metres/sec
|
|
|
|
|
// returns the time of the last reset or 0 if no reset has ever occurred
|
|
|
|
|
uint32_t getLastVelNorthEastReset(Vector2f &vel); |
|
|
|
|
|
|
|
|
|
private: |
|
|
|
|
// Reference to the global EKF frontend for parameters
|
|
|
|
|
NavEKF2 &frontend; |
|
|
|
@ -765,6 +773,10 @@ private:
@@ -765,6 +773,10 @@ private:
|
|
|
|
|
bool sideSlipFusionDelayed; // true when the sideslip fusion has been delayed
|
|
|
|
|
bool magFuseTiltInhibit; // true when the 3-axis magnetoemter fusion is prevented from changing tilt angle
|
|
|
|
|
uint32_t magFuseTiltInhibit_ms; // time in msec that the condition indicated by magFuseTiltInhibit was commenced
|
|
|
|
|
Vector2f posResetNE; // Change in North/East position due to last in-flight reset in metres. Returned by getLastPosNorthEastReset
|
|
|
|
|
uint32_t lastPosReset_ms; // System time at which the last position reset occurred. Returned by getLastPosNorthEastReset
|
|
|
|
|
Vector2f velResetNE; // Change in North/East velocity due to last in-flight reset in metres/sec. Returned by getLastVelNorthEastReset
|
|
|
|
|
uint32_t lastVelReset_ms; // System time at which the last velocity reset occurred. Returned by getLastVelNorthEastReset
|
|
|
|
|
|
|
|
|
|
// variables used to calulate a vertical velocity that is kinematically consistent with the verical position
|
|
|
|
|
float posDownDerivative; // Rate of chage of vertical position (dPosD/dt) in m/s. This is the first time derivative of PosD.
|
|
|
|
|