Browse Source

Increase timeout for active link check

Was failing on slower ArduPilot boots. Also could fail on PX4 boots
which required px4io flash on boot.
QGC4.4
Don Gagne 9 years ago
parent
commit
5645421c47
  1. 6
      src/comm/LinkManager.h

6
src/comm/LinkManager.h

@ -244,9 +244,9 @@ private: @@ -244,9 +244,9 @@ private:
bool _autoconnect3DRRadio;
bool _autoconnectPX4Flow;
QTimer _activeLinkCheckTimer; // Timer which checks for a vehicle showing up on a usb direct link
QList<LinkInterface*> _activeLinkCheckList; // List of links we are waiting for a vehicle to show up on
static const int _activeLinkCheckTimeoutMSecs = 7000;
QTimer _activeLinkCheckTimer; ///< Timer which checks for a vehicle showing up on a usb direct link
QList<LinkInterface*> _activeLinkCheckList; ///< List of links we are waiting for a vehicle to show up on
static const int _activeLinkCheckTimeoutMSecs = 10000; ///< Amount of time to wait for a heatbeat. Keep in mind ArduPilot stack heartbeat is slow to come.
static const char* _settingsGroup;
static const char* _autoconnectUDPKey;

Loading…
Cancel
Save