Browse Source

AP_HAL_SITL: remove unused mag-data delay buffer state variables

This delay buffer code is now in AP_Compass_SITL
gps-1.3.1
Peter Barker 3 years ago committed by Peter Barker
parent
commit
6e8c7c6b03
  1. 12
      libraries/AP_HAL_SITL/SITL_State.h

12
libraries/AP_HAL_SITL/SITL_State.h

@ -176,20 +176,8 @@ private: @@ -176,20 +176,8 @@ private:
const char *_fg_address;
// delay buffer variables
static const uint8_t mag_buffer_length = 250;
static const uint8_t wind_buffer_length = 50;
// magnetometer delay buffer variables
struct readings_mag {
uint32_t time;
Vector3f data;
};
uint8_t store_index_mag;
uint32_t last_store_time_mag;
VectorN<readings_mag,mag_buffer_length> buffer_mag;
uint32_t time_delta_mag;
uint32_t delayed_time_mag;
// airspeed sensor delay buffer variables
struct readings_wind {
uint32_t time;

Loading…
Cancel
Save