mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Copter: Ground oscillation gain reduction
This commit is contained in:
parent
2ab3d0b3b0
commit
1012be95d8
@ -439,6 +439,7 @@ void Copter::update_flight_mode()
|
|||||||
#if AP_RANGEFINDER_ENABLED
|
#if AP_RANGEFINDER_ENABLED
|
||||||
surface_tracking.invalidate_for_logging(); // invalidate surface tracking alt, flight mode will set to true if used
|
surface_tracking.invalidate_for_logging(); // invalidate surface tracking alt, flight mode will set to true if used
|
||||||
#endif
|
#endif
|
||||||
|
attitude_control->landed_gain_reduction(copter.ap.land_complete); // Adjust gains when landed to attenuate ground oscillation
|
||||||
|
|
||||||
flightmode->run();
|
flightmode->run();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user