Skip to content

Commit

Permalink
FW Position Control: keep flaps in landing config during abort
Browse files Browse the repository at this point in the history
Signed-off-by: Silvan Fuhrer <[email protected]>
  • Loading branch information
sfuhrer committed Nov 1, 2024
1 parent e8f8bc9 commit 181012d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/fw_pos_control/FixedwingPositionControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1319,6 +1319,7 @@ FixedwingPositionControl::control_auto_loiter(const float control_interval, cons
} else {
// continue straight until vehicle has sufficient altitude
roll_body = 0.0f;
_flaps_setpoint = _param_fw_flaps_lnd_scl.get(); // keep flaps in landing configuration
}

is_low_height = true; // In low-height flight, TECS will control altitude tighter
Expand Down

0 comments on commit 181012d

Please sign in to comment.