Skip to content

Commit

Permalink
Plane: mode autoland: ensure flight stage is normal on mode enter
Browse files Browse the repository at this point in the history
  • Loading branch information
IamPete1 committed Jan 14, 2025
1 parent e1eed41 commit 369b701
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ArduPlane/mode_autoland.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ bool ModeAutoLand::_enter()

plane.prev_WP_loc = plane.current_loc;

// In flight stage normal for approach
plane.set_flight_stage(AP_FixedWing::FlightStage::NORMAL);

const Location &home = ahrs.get_home();

#ifndef HAL_LANDING_DEEPSTALL_ENABLED
Expand Down

0 comments on commit 369b701

Please sign in to comment.