mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-04 02:30:34 +08:00
fw pos/att ctrl: pass manual nose wheel increments during takeoff ground roll
This commit is contained in:
committed by
Daniel Agar
parent
fcee314646
commit
721131a135
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user