Fixed-wing: remove roll offset param (FW_RSP_OFF)

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2021-02-11 19:02:29 +01:00
committed by Daniel Agar
parent a70cf950f4
commit 31a6edff07
5 changed files with 1 additions and 24 deletions
@@ -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()));