Skip to content

Commit

Permalink
Copter: Ground oscillation gain reduction
Browse files Browse the repository at this point in the history
  • Loading branch information
lthall committed Jul 22, 2024
1 parent 7c71836 commit 01ab103
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ArduCopter/mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ bool Copter::set_mode(const uint8_t new_mode, const ModeReason reason)
void Copter::update_flight_mode()
{
surface_tracking.invalidate_for_logging(); // invalidate surface tracking alt, flight mode will set to true if used
attitude_control->landed_gain_reduction(copter.ap.land_complete); // Adjust gains when landed to attenuate ground oscillation

flightmode->run();
}
Expand Down

0 comments on commit 01ab103

Please sign in to comment.