mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 21:33:35 +08:00
VTOL/TECS: publish transition throttle after transition until tecs is initialized and fw pos ctl is publishing att setpoint
This commit is contained in:
committed by
Lorenz Meier
parent
fa52aa322a
commit
3773eaad99
@@ -169,6 +169,7 @@ void Standard::update_vtol_state()
|
||||
// we can turn off the multirotor motors now
|
||||
_flag_enable_mc_motors = false;
|
||||
// don't set pusher throttle here as it's being ramped up elsewhere
|
||||
_trans_finished_ts = hrt_absolute_time();
|
||||
}
|
||||
|
||||
} else if (_vtol_schedule.flight_mode == TRANSITION_TO_MC) {
|
||||
@@ -316,6 +317,12 @@ void Standard::fill_actuator_outputs()
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
Standard::waiting_on_fw_ctl()
|
||||
{
|
||||
_v_att_sp->thrust = _pusher_throttle;
|
||||
};
|
||||
|
||||
/**
|
||||
* Disable all multirotor motors when in fw mode.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user