AP_AHRS: added a get_NavEKF_const() function

needed for AP_Mount_MAVLink

Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
This commit is contained in:
Andrew Tridgell 2015-01-30 17:37:52 +11:00
parent 4c8b663200
commit ee9c778834
1 changed files with 1 additions and 0 deletions

View File

@ -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);