|
|
@ -130,6 +130,9 @@ public: |
|
|
|
// set_enable_bailout - allows main code to set when RSC can immediately ramp engine instantly
|
|
|
|
// 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; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// return true if the servo test is still running/pending
|
|
|
|
|
|
|
|
bool servo_test_running() const { return _heliflags.servo_test_running; } |
|
|
|
|
|
|
|
|
|
|
|
// var_info for holding Parameter information
|
|
|
|
// var_info for holding Parameter information
|
|
|
|
static const struct AP_Param::GroupInfo var_info[]; |
|
|
|
static const struct AP_Param::GroupInfo var_info[]; |
|
|
|
|
|
|
|
|
|
|
@ -199,6 +202,7 @@ protected: |
|
|
|
uint8_t save_rsc_mode : 1; // used to determine the rsc mode needs to be saved while disarmed
|
|
|
|
uint8_t save_rsc_mode : 1; // used to determine the rsc mode needs to be saved while disarmed
|
|
|
|
uint8_t in_autorotation : 1; // true if aircraft is in autorotation
|
|
|
|
uint8_t in_autorotation : 1; // true if aircraft is in autorotation
|
|
|
|
uint8_t enable_bailout : 1; // true if allowing RSC to quickly ramp up engine
|
|
|
|
uint8_t enable_bailout : 1; // true if allowing RSC to quickly ramp up engine
|
|
|
|
|
|
|
|
uint8_t servo_test_running : 1; // true if servo_test is running
|
|
|
|
} _heliflags; |
|
|
|
} _heliflags; |
|
|
|
|
|
|
|
|
|
|
|
// parameters
|
|
|
|
// parameters
|
|
|
|