mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
AP_AHRS: expose get_NavEKF as non-const
better than having two methods
This commit is contained in:
parent
f0f76920fa
commit
f09ae0c2d0
@ -73,8 +73,7 @@ public:
|
||||
// true if compass is being used
|
||||
bool use_compass(void);
|
||||
|
||||
const NavEKF &get_NavEKF(void) const { return EKF; }
|
||||
NavEKF* get_EKF(void) { return &EKF; }
|
||||
NavEKF &get_NavEKF(void) { return EKF; }
|
||||
|
||||
// return secondary attitude solution if available, as eulers in radians
|
||||
bool get_secondary_attitude(Vector3f &eulers);
|
||||
|
Loading…
Reference in New Issue
Block a user