1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

AndroidGCS Telemetry: Make the connected signal only occur after all objects

are downloaded

In the case of a flaky connection this will render telemetry mostly masked
from the activities.  However, it ensures that all the information is present
after a connection.

Some compromise is probably needed for using this in the field, such as a
tiered system:
1. Physical channel open (no idea about reception)
2. Link estabilished (at least some reception)
3. Full telemetry established (all objects synced up)
This commit is contained in:
James Cotton 2012-10-16 12:01:44 -05:00
parent b0522a319f
commit 8fb0d70f51

View File

@ -50,7 +50,7 @@ public class TelemetryMonitor extends Observable {
static final int STATS_CONNECT_PERIOD_MS = 1000;
static final int CONNECTION_TIMEOUT_MS = 8000;
private final boolean HANDSHAKE_IS_CONNECTED = true;
private final boolean HANDSHAKE_IS_CONNECTED = false;
private final UAVObjectManager objMngr;
private final Telemetry tel;