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())
|
if (IsSlewingToTarget())
|
||||||
throw new InvalidOperationException("Unable to PulseGuide whilst slewing to target.");
|
throw new InvalidOperationException("Unable to PulseGuide whilst slewing to target.");
|
||||||
|
|
||||||
if (AlignmentMode == AlignmentModes.algAltAz)
|
if (!_isStarPatch)
|
||||||
throw new InvalidOperationException("Unable to PulseGuide whilst in AltAz mode.");
|
{
|
||||||
|
if (AlignmentMode == AlignmentModes.algAltAz)
|
||||||
|
throw new InvalidOperationException("Unable to PulseGuide whilst in AltAz mode.");
|
||||||
|
}
|
||||||
|
|
||||||
SharedResourcesWrapper.IsGuiding = true;
|
SharedResourcesWrapper.IsGuiding = true;
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in New Issue
Block a user