Added code to allow pulseguide commands to be sent to telescopes with StarPatch installed.

This commit is contained in:
2022-07-19 18:30:26 +01:00
parent d996d6f8d6
commit faf2692fae
+5 -2
View File
@@ -2294,8 +2294,11 @@ namespace ASCOM.Meade.net
if (IsSlewingToTarget())
throw new InvalidOperationException("Unable to PulseGuide whilst slewing to target.");
if (AlignmentMode == AlignmentModes.algAltAz)
throw new InvalidOperationException("Unable to PulseGuide whilst in AltAz mode.");
if (!_isStarPatch)
{
if (AlignmentMode == AlignmentModes.algAltAz)
throw new InvalidOperationException("Unable to PulseGuide whilst in AltAz mode.");
}
SharedResourcesWrapper.IsGuiding = true;
try