From 1a66f41d78dc1557122aaf9d373d9a69254b1ba2 Mon Sep 17 00:00:00 2001 From: Colin Dawson Date: Thu, 28 Apr 2022 21:29:36 +0100 Subject: [PATCH] Add support for the IsGuiding function --- Meade.net.Telescope/Telescope.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Meade.net.Telescope/Telescope.cs b/Meade.net.Telescope/Telescope.cs index e417173..902a2a8 100644 --- a/Meade.net.Telescope/Telescope.cs +++ b/Meade.net.Telescope/Telescope.cs @@ -1577,10 +1577,10 @@ namespace ASCOM.Meade.net { get { - //Todo implement this if I can make the new pulse guiding async - LogMessage("IsPulseGuiding Get", "pulse guiding is synchronous for this driver"); + var isGuiding = SharedResourcesWrapper.IsGuiding; + LogMessage("IsPulseGuiding Get", $"result = {isGuiding}"); + return isGuiding; //throw new ASCOM.PropertyNotImplementedException("IsPulseGuiding", false); - return false; } } @@ -1764,7 +1764,7 @@ namespace ASCOM.Meade.net var coordinatesBeforeMove = GetTelescopeRaAndDec(); - if (_userNewerPulseGuiding && duration < 10000) + if (_userNewerPulseGuiding) { string d = string.Empty; switch (direction)