mirror of https://github.com/ArduPilot/ardupilot
AP_Motors: helper function to determine when heli is in autorotation
This commit is contained in:
parent
0de2d6d482
commit
a19b72e895
|
@ -133,6 +133,9 @@ public:
|
|||
// set_in_autorotation - allows main code to set when aircraft is in autorotation.
|
||||
void set_in_autorotation(bool autorotation) { _heliflags.in_autorotation = autorotation; }
|
||||
|
||||
// get_in_autorotation - allows main code to determine when aircraft is in autorotation.
|
||||
bool get_in_autorotation() { return _heliflags.in_autorotation; }
|
||||
|
||||
// set_enable_bailout - allows main code to set when RSC can immediately ramp engine instantly
|
||||
void set_enable_bailout(bool bailout) { _heliflags.enable_bailout = bailout; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue