mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-24 16:55:29 +03:00
NAV: Prevent switching to IDLE state on GPS loss - keep activated flight mode and give chance for EMERG controller to kick in. Emergency GPS timeout set to 5 seconds.
This commit is contained in:
parent
d26c8b0e01
commit
c8b7e8ae74
2 changed files with 8 additions and 7 deletions
|
@ -22,7 +22,7 @@
|
|||
#define DISTANCE_BETWEEN_TWO_LONGITUDE_POINTS_AT_EQUATOR 1.113195f // MagicEarthNumber from APM
|
||||
|
||||
#define LAND_DETECTOR_TRIGGER_TIME_MS 2000 // 2 seconds
|
||||
#define NAV_WAIT_FOR_GPS_TIMEOUT_MS 2000 // GPS wait time-out
|
||||
#define NAV_WAIT_FOR_GPS_TIMEOUT_MS 5000 // GPS wait time-out 5 sec
|
||||
|
||||
#define MIN_POSITION_UPDATE_RATE_HZ 5 // Minimum position update rate at which XYZ controllers would be applied
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue