mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Plane: do attitude relax after 100ms
This commit is contained in:
parent
e50414d8b9
commit
5136b90d27
@ -780,7 +780,7 @@ void QuadPlane::run_z_controller(void)
|
||||
void QuadPlane::check_attitude_relax(void)
|
||||
{
|
||||
uint32_t now = AP_HAL::millis();
|
||||
if (now - last_att_control_ms > 500) {
|
||||
if (now - last_att_control_ms > 100) {
|
||||
attitude_control->relax_attitude_controllers();
|
||||
}
|
||||
last_att_control_ms = now;
|
||||
|
Loading…
Reference in New Issue
Block a user