Browse Source

AP_AHRS: added a get_NavEKF_const() function

needed for AP_Mount_MAVLink

Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
master
Andrew Tridgell 10 years ago
parent
commit
ee9c778834
  1. 1
      libraries/AP_AHRS/AP_AHRS_NavEKF.h

1
libraries/AP_AHRS/AP_AHRS_NavEKF.h

@ -77,6 +77,7 @@ public: @@ -77,6 +77,7 @@ public:
bool use_compass(void);
NavEKF &get_NavEKF(void) { return EKF; }
const NavEKF &get_NavEKF_const(void) const { return EKF; }
// return secondary attitude solution if available, as eulers in radians
bool get_secondary_attitude(Vector3f &eulers);

Loading…
Cancel
Save