mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 02:53:34 +08:00
vtol: refactor of maximum pwm value settings for main and alternate motors
- main motors are the ones which are meant to be used as propulsion in fw mode - alternate motors are the ones usually meant to be switched off in fw mode Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
committed by
Silvan Fuhrer
parent
bc1e9f72f7
commit
0871f0f52d
@@ -305,10 +305,7 @@ void Standard::update_transition_state()
|
||||
|
||||
}
|
||||
|
||||
// in back transition we need to start the MC motors again
|
||||
if (_motor_state != motor_state::ENABLED) {
|
||||
_motor_state = set_motor_state(_motor_state, motor_state::ENABLED);
|
||||
}
|
||||
set_all_motor_state(motor_state::ENABLED);
|
||||
|
||||
// set idle speed for MC actuators
|
||||
if (!_flag_idle_mc) {
|
||||
|
||||
Reference in New Issue
Block a user