diff --git a/PlaneGcsSdk_Shared/Copters/FakeCopter.cs b/PlaneGcsSdk_Shared/Copters/FakeCopter.cs index 86d2b46..2851f3c 100644 --- a/PlaneGcsSdk_Shared/Copters/FakeCopter.cs +++ b/PlaneGcsSdk_Shared/Copters/FakeCopter.cs @@ -150,7 +150,15 @@ namespace Plane.Copters await TaskUtils.Delay(UPDATE_INTERVAL).ConfigureAwait(false); } }); + + + ++HeartbeatCount; + GpsFixType = GpsFixType.Fix3D; + GpsHdop = 1; + IsGpsAccurate = true; + HasSwitchedToGpsMode = true; + /* // 持续假装收到飞行器发来的心跳。 Task.Run(async () => { @@ -176,6 +184,7 @@ namespace Plane.Copters await TaskUtils.Delay(HEARTBEAT_INTERVAL).ConfigureAwait(false); } }); + */ } public IConnection Connection { get; set; }