Added code to allow pulseguide commands to be sent to telescopes with StarPatch installed.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user