New Park routine for the LX-200 Classic, uses the same technique as the 5.0.4 driver.
This commit is contained in:
@@ -1398,7 +1398,6 @@ namespace ASCOM.Meade.net
|
||||
{
|
||||
CheckConnected("CanUnpark");
|
||||
|
||||
//todo make this return false for non LX-200 GPS telescopes
|
||||
LogMessage("CanUnpark", "Get - " + true);
|
||||
return SharedResourcesWrapper.ProductName == TelescopeList.LX200GPS;
|
||||
}
|
||||
@@ -1740,11 +1739,20 @@ namespace ASCOM.Meade.net
|
||||
break;
|
||||
}
|
||||
|
||||
if (SharedResourcesWrapper.ProductName != TelescopeList.LX200CLASSIC)
|
||||
{
|
||||
SharedResourcesWrapper.SendBlind("hP");
|
||||
//:hP# Autostar, Autostar II and LX 16" Slew to Park Position
|
||||
//Returns: Nothing
|
||||
}
|
||||
else
|
||||
{
|
||||
Tracking = false;
|
||||
SlewToCoordinates(parkedPosition.RightAscension, parkedPosition.Declination);
|
||||
}
|
||||
|
||||
//Setting park to true before sending the park command as the Autostar and Audiostar stop serial communications once the park command has been issued.
|
||||
SharedResourcesWrapper.SetParked(true, parkedPosition);
|
||||
SharedResourcesWrapper.SendBlind("hP");
|
||||
//:hP# Autostar, Autostar II and LX 16" Slew to Park Position
|
||||
//Returns: Nothing
|
||||
}
|
||||
|
||||
private bool _userNewerPulseGuiding = true;
|
||||
|
||||
Reference in New Issue
Block a user