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,7 +133,10 @@ public:
|
||||||
// set_in_autorotation - allows main code to set when aircraft is in autorotation.
|
// set_in_autorotation - allows main code to set when aircraft is in autorotation.
|
||||||
void set_in_autorotation(bool autorotation) { _heliflags.in_autorotation = autorotation; }
|
void set_in_autorotation(bool autorotation) { _heliflags.in_autorotation = autorotation; }
|
||||||
|
|
||||||
// set_enable_bailout - allows main code to set when RSC can immediately ramp engine instantly
|
// 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; }
|
void set_enable_bailout(bool bailout) { _heliflags.enable_bailout = bailout; }
|
||||||
|
|
||||||
// set land complete flag
|
// set land complete flag
|
||||||
|
|
Loading…
Reference in New Issue