diff --git a/libraries/AP_AHRS/AP_AHRS.h b/libraries/AP_AHRS/AP_AHRS.h index ca11d7d50e..d1d2c251f4 100644 --- a/libraries/AP_AHRS/AP_AHRS.h +++ b/libraries/AP_AHRS/AP_AHRS.h @@ -85,6 +85,10 @@ public: _flags.fly_forward = b; } + bool get_fly_forward(void) const { + return _flags.fly_forward; + } + void set_wind_estimation(bool b) { _flags.wind_estimation = b; }