AP_AHRS: added get_fly_forward() method

will be used to detect a copter
This commit is contained in:
Andrew Tridgell 2014-02-27 17:39:49 +11:00
parent 62eff63267
commit aaaae9a222

View File

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