From 1e5148e7b99c642338353ac6b8b9863f91e041d5 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 23 Aug 2015 12:13:30 +0200 Subject: [PATCH] Do not limit the XPlane update rate too much --- src/comm/QGCXPlaneLink.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comm/QGCXPlaneLink.cc b/src/comm/QGCXPlaneLink.cc index 91b64e88d..a40e26033 100644 --- a/src/comm/QGCXPlaneLink.cc +++ b/src/comm/QGCXPlaneLink.cc @@ -807,7 +807,7 @@ void QGCXPlaneLink::readBytes() } // Send updated state - if (emitUpdate && (QGC::groundTimeMilliseconds() - simUpdateLast) > 3) + if (emitUpdate && (QGC::groundTimeMilliseconds() - simUpdateLast) > 2) { simUpdateHz = simUpdateHz * 0.9f + 0.1f * (1000.0f / (QGC::groundTimeMilliseconds() - simUpdateLast)); if (QGC::groundTimeMilliseconds() - simUpdateLastText > 2000) { -- 2.22.0