TwiceAsNice
2019-02-18
|
Macros | |
#define | NULL_PTR(x) (x *)0 |
Typedefs | |
typedef fd_set | telfds |
Functions | |
int | ConnectTel (char *port) |
void | DisconnectTel (void) |
int | CheckConnectTel (void) |
void | SetRate (int newRate) |
void | SetLimits (double limitLower, double limitHigher) |
double | GetRA (void) |
double | GetDec (void) |
int | SlewToCoords (double newRA, double newDec) |
int | SyncToCoords (double newRA, double newDec) |
int | CheckCoords (double desRA, double desDec, double tolRA, double tolDEC) |
void | StopNSEW (void) |
int | SetSlewRate (void) |
int | SyncLST (double newTime) |
int | SyncLocalTime (void) |
void | Reticle (int reticle) |
void | Focus (int focus) |
void | Derotator (int rotate) |
void | Fan (int fan) |
void | GetRAandDec (void) |
static int | readn (int fd, char *ptr, int nbytes, int sec) |
static int | writen (int fd, char *ptr, int nbytes) |
static int | telstat (int fd, int sec, int usec) |
int | StartSlew (int direction) |
int | StopSlew (int direction) |
int | isScopeSlewing () |
int | updateLocation (double lng, double lat) |
int | updateTime (struct ln_date *utc, double utc_offset) |
Variables | |
static int | TelPortFD |
static int | TelConnectFlag = 0 |
static double | returnRA |
static double | returnDec |
static int | updateRA |
static int | updateDec |
static int | slewRate |
static double | offsetRA = 0 |
static double | offsetDec = 0 |
typedef fd_set telfds |
int CheckConnectTel | ( | void | ) |
int CheckCoords | ( | double | desRA, |
double | desDec, | ||
double | tolRA, | ||
double | tolDEC | ||
) |
int ConnectTel | ( | char * | port | ) |
void Derotator | ( | int | rotate | ) |
void DisconnectTel | ( | void | ) |
void Fan | ( | int | fan | ) |
void Focus | ( | int | focus | ) |
double GetDec | ( | void | ) |
double GetRA | ( | void | ) |
void GetRAandDec | ( | void | ) |
int isScopeSlewing | ( | ) |
|
static |
void Reticle | ( | int | reticle | ) |
void SetLimits | ( | double | limitLower, |
double | limitHigher | ||
) |
void SetRate | ( | int | newRate | ) |
int SetSlewRate | ( | void | ) |
int SlewToCoords | ( | double | newRA, |
double | newDec | ||
) |
int StartSlew | ( | int | direction | ) |
void StopNSEW | ( | void | ) |
int StopSlew | ( | int | direction | ) |
int SyncLocalTime | ( | void | ) |
int SyncLST | ( | double | newTime | ) |
int SyncToCoords | ( | double | newRA, |
double | newDec | ||
) |
|
static |
int updateLocation | ( | double | lng, |
double | lat | ||
) |
int updateTime | ( | struct ln_date * | utc, |
double | utc_offset | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |