FW position control: catapult/hand-launch: do not cut throttle if not landed

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer 2024-04-09 09:59:49 +02:00
parent 6a7555c005
commit 6fec452c4b

View File

@ -1609,7 +1609,7 @@ FixedwingPositionControl::control_auto_takeoff(const hrt_abstime &now, const flo
_att_sp.thrust_body[0] = _param_fw_thr_idle.get();
} else {
_att_sp.thrust_body[0] = (_landed) ? min(_param_fw_thr_idle.get(), 1.f) : get_tecs_thrust();
_att_sp.thrust_body[0] = get_tecs_thrust();
}
_att_sp.pitch_body = get_tecs_pitch();