AP_NavEKF3: remove unused innovationIncrement and lastInnovation

This commit is contained in:
Peter Barker 2020-10-17 11:30:16 +11:00 committed by Andrew Tridgell
parent 80f9ef7ed1
commit 3dc67f09fd
2 changed files with 0 additions and 6 deletions

View File

@ -303,8 +303,6 @@ void NavEKF3_core::InitialiseVariables()
gpsNotAvailable = true;
motorsArmed = false;
prevMotorsArmed = false;
innovationIncrement = 0;
lastInnovation = 0;
memset(&gpsCheckStatus, 0, sizeof(gpsCheckStatus));
gpsSpdAccPass = false;
ekfInnovationsPass = false;

View File

@ -1204,10 +1204,6 @@ private:
uint32_t lastInnovFailTime_ms; // last time in msec the GPS innovations failed
bool gpsAccuracyGood; // true when the GPS accuracy is considered to be good enough for safe flight.
// States used for unwrapping of compass yaw error
float innovationIncrement;
float lastInnovation;
// variables added for optical flow fusion
obs_ring_buffer_t<of_elements> storedOF; // OF data buffer
of_elements ofDataNew; // OF data at the current time horizon