|
|
|
@ -105,6 +105,9 @@ public:
@@ -105,6 +105,9 @@ public:
|
|
|
|
|
// is_runup_complete
|
|
|
|
|
bool is_runup_complete() const { return _runup_complete; } |
|
|
|
|
|
|
|
|
|
// is_spooldown_complete
|
|
|
|
|
bool is_spooldown_complete() const { return _spooldown_complete; } |
|
|
|
|
|
|
|
|
|
// set_ramp_time
|
|
|
|
|
void set_ramp_time(int8_t ramp_time) { _ramp_time = ramp_time; } |
|
|
|
|
|
|
|
|
@ -163,6 +166,7 @@ private:
@@ -163,6 +166,7 @@ private:
|
|
|
|
|
bool _use_bailout_ramp; // true if allowing RSC to quickly ramp up engine
|
|
|
|
|
bool _in_autorotation; // true if vehicle is currently in an autorotation
|
|
|
|
|
int16_t _rsc_arot_bailout_pct; // the throttle percentage sent to the external governor to signal that autorotation bailout ramp should be used
|
|
|
|
|
bool _spooldown_complete; // flag for determining if spooldown is complete
|
|
|
|
|
|
|
|
|
|
// update_rotor_ramp - slews rotor output scalar between 0 and 1, outputs float scalar to _rotor_ramp_output
|
|
|
|
|
void update_rotor_ramp(float rotor_ramp_input, float dt); |
|
|
|
|