Browse Source

AP_AHRS: move active_accel_instance into DCM private header section

gps-1.3.1
Peter Barker 4 years ago committed by Andrew Tridgell
parent
commit
e2722c8e12
  1. 3
      libraries/AP_AHRS/AP_AHRS_Backend.h
  2. 3
      libraries/AP_AHRS/AP_AHRS_DCM.h

3
libraries/AP_AHRS/AP_AHRS_Backend.h

@ -453,7 +453,4 @@ protected: @@ -453,7 +453,4 @@ protected:
float _sin_roll;
float _sin_pitch;
float _sin_yaw;
// which accelerometer instance is active
uint8_t _active_accel_instance;
};

3
libraries/AP_AHRS/AP_AHRS_DCM.h

@ -214,6 +214,9 @@ private: @@ -214,6 +214,9 @@ private:
float _ra_deltat;
uint32_t _ra_sum_start;
// which accelerometer instance is active
uint8_t _active_accel_instance;
// the earths magnetic field
float _last_declination;
Vector2f _mag_earth{1, 0};

Loading…
Cancel
Save