Bi-monthly release with minor bug fixes and improvements
SCOPE 44.216251 sec : CMD <#:GR#>
SCOPE 44.256457 sec : RES <20:57:42.4>
SCOPE 45.539812 sec : CMD <#:GD#>
SCOPE 45.557633 sec : RES <+90*00:00>
gdb --eval-command="set follow-fork-mode child" --args indiserver -v indi_lx200ap indi_simulator_ccd
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
:Sd sDD*MM# or :Sd sDD*MM:SS#
:Sd sDD:MM:SS#
Please Log in or Create an account to join the conversation.
bool LX200AstroPhysics::Sync(double ra, double dec)
{
char syncString[256];
int i = IUFindOnSwitchIndex(&SyncCMRSP);
if (isSimulation() == false && (setAPObjectRA(PortFD, ra) < 0 || (setAPObjectDEC(PortFD, dec)) < 0))
{
EqNP.s = IPS_ALERT;
IDSetNumber(&EqNP, "Error setting RA/DEC. Unable to Sync.");
return false;
}
if (i==0)
{
if (isSimulation() == false && APSyncCM(PortFD, syncString) < 0)
{
EqNP.s = IPS_ALERT;
IDSetNumber(&EqNP, "Synchronization failed.");
return false;
}
}
else
{
if (isSimulation() == false && APSyncCMR(PortFD, syncString) < 0)
{
EqNP.s = IPS_ALERT;
IDSetNumber(&EqNP, "Synchronization failed.");
return false;
}
}
currentRA = ra;
currentDEC = dec;
DEBUGF(INDI::Logger::DBG_DEBUG, "Synchronization successful %s", syncString);
DEBUG(INDI::Logger::DBG_SESSION, "Synchronization successful.");
TrackState = SCOPE_IDLE;
EqNP.s = IPS_OK;
NewRaDec(currentRA, currentDEC);
return true;
}
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.