mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
Sub: Increase timeout for MANUAL_CONTROL failsafe
This commit is contained in:
parent
0ea0f0c941
commit
ea8b870067
@ -34,8 +34,8 @@ void Sub::failsafe_manual_control_check()
|
||||
#if CONFIG_HAL_BOARD != HAL_BOARD_SITL
|
||||
uint32_t tnow = AP_HAL::millis();
|
||||
|
||||
// Require at least 2Hz update
|
||||
if (tnow > failsafe.last_manual_control_ms + 500) {
|
||||
// Require at least 0.5 Hz update
|
||||
if (tnow > failsafe.last_manual_control_ms + 2000) {
|
||||
if (!failsafe.manual_control) {
|
||||
failsafe.manual_control = true;
|
||||
set_neutral_controls();
|
||||
|
Loading…
Reference in New Issue
Block a user