Skip to content

Commit

Permalink
Update src/modules/flight_mode_manager/tasks/Auto/FlightTaskAuto.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
bresch authored Mar 5, 2025
1 parent c6791ce commit eb3fc30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ void FlightTaskAuto::_prepareLandSetpoints()
Vector2f sticks_xy = _sticks.getPitchRollExpo();

if (sticks_xy.longerThan(FLT_EPSILON)) {
// Hold current heading to avoid unexpected flight path
// Ensure no unintended yawing when nudging horizontally during initial heading alignment
_land_heading = _yaw_sp_prev;
}

Expand Down

0 comments on commit eb3fc30

Please sign in to comment.