|
|
|
@ -258,6 +258,9 @@ public:
@@ -258,6 +258,9 @@ public:
|
|
|
|
|
// this is used by other instances to level load
|
|
|
|
|
uint8_t getFramesSincePredict(void) const; |
|
|
|
|
|
|
|
|
|
// publish output observer angular, velocity and position tracking error
|
|
|
|
|
void getOutputTrackingError(Vector3f &error) const; |
|
|
|
|
|
|
|
|
|
private: |
|
|
|
|
// Reference to the global EKF frontend for parameters
|
|
|
|
|
NavEKF2 *frontend; |
|
|
|
@ -790,6 +793,8 @@ private:
@@ -790,6 +793,8 @@ private:
|
|
|
|
|
Vector3f delAngCorrected; // corrected IMU delta angle vector at the EKF time horizon (rad)
|
|
|
|
|
Vector3f delVelCorrected; // corrected IMU delta velocity vector at the EKF time horizon (m/s)
|
|
|
|
|
|
|
|
|
|
Vector3f outputTrackError; |
|
|
|
|
|
|
|
|
|
// variables used to calculate 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.
|
|
|
|
|
float posDown; // Down position state used in calculation of posDownRate
|
|
|
|
|