fw pos/att ctrl: pass manual nose wheel increments during takeoff ground roll

This commit is contained in:
Thomas Stastny
2022-05-11 12:53:36 +02:00
committed by Daniel Agar
parent fcee314646
commit 721131a135
4 changed files with 21 additions and 1 deletions
@@ -556,6 +556,9 @@ void FixedwingAttitudeControl::Run()
if (wheel_control) {
yaw_u = _wheel_ctrl.control_bodyrate(dt, control_input);
// XXX: this is an abuse -- used to ferry manual yaw inputs from position controller during auto modes
yaw_u += _att_sp.yaw_sp_move_rate * _param_fw_man_y_sc.get();
} else {
yaw_u = _yaw_ctrl.control_euler_rate(dt, control_input, bodyrate_ff(2));
}