Browse Source

AP_NavEKF: added getStaticMode() function

master
Andrew Tridgell 10 years ago
parent
commit
46f601d703
  1. 3
      libraries/AP_NavEKF/AP_NavEKF.h

3
libraries/AP_NavEKF/AP_NavEKF.h

@ -141,6 +141,9 @@ public: @@ -141,6 +141,9 @@ public:
// return the innovation consistency test ratios for the velocity, position, magnetometer and true airspeed measurements
void getVariances(float &velVar, float &posVar, float &hgtVar, Vector3f &magVar, float &tasVar, Vector2f &offset) const;
// return StaticMode state
bool getStaticMode(void) const { return staticMode; }
// should we use the compass? This is public so it can be used for
// reporting via ahrs.use_compass()
bool use_compass(void) const;

Loading…
Cancel
Save