Skip to content

Commit aabbe50

Browse files
Ferruccio1984bnsgeyer
authored andcommitted
AP_Motors: add governor engage to rotor runup complete check
1 parent 35aaa13 commit aabbe50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/AP_Motors/AP_MotorsHeli_RSC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ void AP_MotorsHeli_RSC::update_rotor_runup(float dt)
457457
}
458458

459459
// if rotor ramp and runup are both at full speed, then run-up has been completed
460-
if (!_runup_complete && (_rotor_ramp_output >= 1.0f) && (_rotor_runup_output >= 1.0f)) {
460+
if (!_runup_complete && (_rotor_ramp_output >= 1.0f) && (_rotor_runup_output >= 1.0f) && (_control_mode == ROTOR_CONTROL_MODE_AUTOTHROTTLE ? _governor_engage : true)) {
461461
_runup_complete = true;
462462
}
463463
// if rotor speed is less than critical speed, then run-up is not complete

0 commit comments

Comments
 (0)