mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 14:30:35 +08:00
Fixed-wing: remove roll offset param (FW_RSP_OFF)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
committed by
Daniel Agar
parent
a70cf950f4
commit
31a6edff07
@@ -1715,9 +1715,6 @@ FixedwingPositionControl::Run()
|
||||
if (control_position(_local_pos.timestamp, curr_pos, ground_speed, _pos_sp_triplet.previous, _pos_sp_triplet.current,
|
||||
_pos_sp_triplet.next)) {
|
||||
|
||||
// add attitude roll setpoint offset (pitch is handled earlier)
|
||||
_att_sp.roll_body += radians(_param_fw_rsp_off.get());
|
||||
|
||||
if (_control_mode.flag_control_manual_enabled) {
|
||||
_att_sp.roll_body = constrain(_att_sp.roll_body, -radians(_param_fw_man_r_max.get()),
|
||||
radians(_param_fw_man_r_max.get()));
|
||||
|
||||
Reference in New Issue
Block a user