Bi-monthly release with minor bug fixes and improvements
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.
bool LX200Telescope::updateLocation(double latitude, double longitude, double elevation)
{
INDI_UNUSED(elevation);
if (isSimulation())
return true;
if (!isSimulation() && setSiteLongitude(PortFD, 360.0 - longitude) < 0)
{
LOG_ERROR("Error setting site longitude coordinates");
return false;
}
...
int setSiteLongitude(int fd, double Long)
{
DEBUGFDEVICE(lx200Name, DBG_SCOPE, "<%s>", __FUNCTION__);
int d, m, s;
char read_buffer[32];
getSexComponents(Long, &d, &m, &s);
snprintf(read_buffer, sizeof(read_buffer), ":Sg%03d:%02d#", d, m);
return (setStandardProcedure(fd, read_buffer));
}
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.