1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 16:25:26 +03:00

Added a 2 sec timeout before switching into EMERG mode when on a WP mission

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2015-12-11 20:29:02 +10:00
parent 7b598ae39a
commit c15512b4da
2 changed files with 34 additions and 23 deletions

View file

@ -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 RTH_WAIT_FOR_GPS_TIMEOUT_MS 2000 // GPS wait timeout for RTH
#define NAV_WAIT_FOR_GPS_TIMEOUT_MS 2000 // GPS wait time-out
#define MIN_POSITION_UPDATE_RATE_HZ 5 // Minimum position update rate at which XYZ controllers would be applied