@@ -141,9 +141,6 @@ class NavEKF3 {
141
141
142
142
// return the sensor in use for the specified instance
143
143
// An out of range instance (eg -1) returns data for the primary instance
144
- uint8_t getActiveMag (int8_t instance) const ;
145
- uint8_t getActiveBaro (int8_t instance) const ;
146
- uint8_t getActiveGPS (int8_t instance) const ;
147
144
uint8_t getActiveAirspeed (int8_t instance) const ;
148
145
149
146
// Return estimated magnetometer offsets
@@ -189,16 +186,10 @@ class NavEKF3 {
189
186
// An out of range instance (eg -1) returns data for the primary instance
190
187
void getInnovations (int8_t index, Vector3f &velInnov, Vector3f &posInnov, Vector3f &magInnov, float &tasInnov, float &yawInnov) const ;
191
188
192
- // publish output observer angular, velocity and position tracking error
193
- void getOutputTrackingError (int8_t instance, Vector3f &error) const ;
194
-
195
189
// return the innovation consistency test ratios for the specified instance
196
190
// An out of range instance (eg -1) returns data for the primary instance
197
191
void getVariances (int8_t instance, float &velVar, float &posVar, float &hgtVar, Vector3f &magVar, float &tasVar, Vector2f &offset) const ;
198
192
199
- // return the diagonals from the covariance matrix for the specified instance
200
- void getStateVariances (int8_t instance, float stateVar[24 ]) const ;
201
-
202
193
// get a source's velocity innovations for the specified instance. Set instance to -1 for the primary instance
203
194
// returns true on success and results are placed in innovations and variances arguments
204
195
bool getVelInnovationsAndVariancesForSource (int8_t instance, AP_NavEKF_Source::SourceXY source, Vector3f &innovations, Vector3f &variances) const WARN_IF_UNUSED;
@@ -251,27 +242,6 @@ class NavEKF3 {
251
242
*/
252
243
uint32_t getBodyFrameOdomDebug (int8_t instance, Vector3f &velInnov, Vector3f &velInnovVar) const ;
253
244
254
- // return data for debugging optical flow fusion for the specified instance
255
- // An out of range instance (eg -1) returns data for the primary instance
256
- void getFlowDebug (int8_t instance, float &varFlow, float &gndOffset, float &flowInnovX, float &flowInnovY, float &auxInnov, float &HAGL, float &rngInnov, float &range, float &gndOffsetErr) const ;
257
-
258
- /*
259
- Returns the following data for debugging range beacon fusion
260
- ID : beacon identifier
261
- rng : measured range to beacon (m)
262
- innov : range innovation (m)
263
- innovVar : innovation variance (m^2)
264
- testRatio : innovation consistency test ratio
265
- beaconPosNED : beacon NED position (m)
266
- offsetHigh : high hypothesis for range beacons system vertical offset (m)
267
- offsetLow : low hypothesis for range beacons system vertical offset (m)
268
- posNED : North,East,Down position estimate of receiver from 3-state filter
269
-
270
- returns true if data could be found, false if it could not
271
- */
272
- bool getRangeBeaconDebug (int8_t instance, uint8_t &ID, float &rng, float &innov, float &innovVar, float &testRatio, Vector3f &beaconPosNED,
273
- float &offsetHigh, float &offsetLow, Vector3f &posNED) const ;
274
-
275
245
/*
276
246
* Writes the measurement from a yaw angle sensor
277
247
*
@@ -395,9 +365,6 @@ class NavEKF3 {
395
365
// allow the enable flag to be set by Replay
396
366
void set_enable (bool enable) { _enable.set_enable (enable); }
397
367
398
- // get timing statistics structure
399
- void getTimingStatistics (int8_t instance, struct ekf_timing &timing) const ;
400
-
401
368
/*
402
369
check if switching lanes will reduce the normalised
403
370
innovations. This is called when the vehicle code is about to
@@ -424,10 +391,6 @@ class NavEKF3 {
424
391
// Writes the default equivalent airspeed in m/s to be used in forward flight if a measured airspeed is required and not available.
425
392
void writeDefaultAirSpeed (float airspeed);
426
393
427
- // log debug data for yaw estimator
428
- // return false if data not available
429
- bool getDataEKFGSF (int8_t instance, float &yaw_composite, float &yaw_composite_variance, float yaw[N_MODELS_EKFGSF], float innov_VN[N_MODELS_EKFGSF], float innov_VE[N_MODELS_EKFGSF], float weight[N_MODELS_EKFGSF]) const ;
430
-
431
394
// parameter conversion
432
395
void convert_parameters ();
433
396
@@ -611,20 +574,6 @@ class NavEKF3 {
611
574
// checks for alignment
612
575
bool coreBetterScore (uint8_t new_core, uint8_t current_core) const ;
613
576
614
- // logging functions shared by cores:
615
- void Log_Write_XKF1 (uint8_t core, uint64_t time_us) const ;
616
- void Log_Write_XKF2 (uint8_t core, uint64_t time_us) const ;
617
- void Log_Write_XKF3 (uint8_t core, uint64_t time_us) const ;
618
- void Log_Write_XKF4 (uint8_t core, uint64_t time_us) const ;
619
- void Log_Write_XKF5 (uint8_t core, uint64_t time_us) const ;
620
- void Log_Write_XKFS (uint8_t core, uint64_t time_us) const ;
621
- void Log_Write_Quaternion (uint8_t core, uint64_t time_us) const ;
622
- void Log_Write_Beacon (uint8_t core, uint64_t time_us) const ;
623
- void Log_Write_BodyOdom (uint8_t core, uint64_t time_us) const ;
624
- void Log_Write_State_Variances (uint8_t core, uint64_t time_us) const ;
625
- void Log_Write_Timing (uint8_t core, uint64_t time_us) const ;
626
- void Log_Write_GSF (uint8_t core, uint64_t time_us) const ;
627
-
628
577
// position, velocity and yaw source control
629
578
AP_NavEKF_Source sources;
630
579
};
0 commit comments