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.
// :Sh[sDD]#
// Set the lowest elevation to which the telescope will goTo
// Return: 0 on failure
// 1 on success
// :So[DD]#
// Set the overhead elevation limit in degrees relative to the horizon
// Return: 0 on failure
// 1 on success
int setMinElevationLimit(int fd, int min)
{
DEBUGFDEVICE(lx200Name, DBG_SCOPE, "<%s>", __FUNCTION__);
char read_buffer[RB_MAX_LEN] = {0};
/* Add mutex */
/* std::unique_lock<std::mutex> guard(lx200CommsLock); */
// Meade Telescope Serial Command Protocol Revision 2010.10
// :SoDD*#
// Set lowest elevation to which the telescope will slew
// Returns:
// 0 – Invalid
// 1 - Valid
//
// 10Micron adds a sign and limits but removes the * in their docs.
// :SosDD#
// Set the minimum altitude above the horizon to which the telescope will slew to sDD degrees.
// Valid values are between –5 and +45 degrees.
snprintf(read_buffer, sizeof(read_buffer), ":So%02d*#", min);
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.
Please Log in or Create an account to join the conversation.