Instrument Neutral Distributed Interface INDI
2.0.2
|
#include <libnova/julian_day.h>
Go to the source code of this file.
Macros | |
#define | LOWER 90. |
#define | HIGHER 0. |
#define | REVERSE_NS 0 /* 1 for reverse; 0 for normal. */ |
#define | MAXSLEWRATE 4 /* 2 for safety; 4 for 16-inch; 8 otherwise. */ |
#define | SLEW 0 |
#define | FIND 1 |
#define | CENTER 2 |
#define | GUIDE 3 |
#define | NORTH 0 |
#define | SOUTH 3 |
#define | EAST 2 |
#define | WEST 1 |
#define | SLEWRATE8 8 /* should be 8 degrees per second (not 16-inch) */ |
#define | SLEWRATE4 4 /* should be 4 degrees per second */ |
#define | SLEWRATE3 3 /* should be 3 degrees per second */ |
#define | SLEWRATE2 2 /* should be 2 degrees per second */ |
#define | BRIGHTER 16 /* increase */ |
#define | DIMMER 8 /* decrease */ |
#define | BLINK0 0 /* no blinking */ |
#define | BLINK1 1 /* blink rate 1 */ |
#define | BLINK2 2 /* blink rate 2 */ |
#define | BLINK3 4 /* blink rate 3 */ |
#define | FOCUSOUT 8 /* positive voltage output */ |
#define | FOCUSIN 4 /* negative voltage output */ |
#define | FOCUSSTOP 0 /* no output */ |
#define | FOCUSSLOW 1 /* half voltage */ |
#define | FOCUSFAST 2 /* full voltage */ |
#define | ROTATORON 1 /* image rotator on */ |
#define | ROTATOROFF 0 /* image rotator off */ |
#define | FANON 1 /* cooling fan on */ |
#define | FANOFF 0 /* cooling fan off */ |
Functions | |
int | ConnectTel (char *port) |
void | DisconnectTel () |
int | CheckConnectTel () |
void | SetRate (int newRate) |
void | SetLimits (double limitLower, double limitHigher) |
int | StartSlew (int direction) |
int | StopSlew (int direction) |
double | GetRA () |
double | GetDec () |
int | SlewToCoords (double newRA, double newDec) |
int | SyncToCoords (double newRA, double newDec) |
int | CheckCoords (double desRA, double desDec, double tolRA, double tolDEC) |
int | isScopeSlewing () |
int | updateLocation (double lng, double lat) |
int | updateTime (struct ln_date *utc, double utc_offset) |
void | StopNSEW () |
int | SetSlewRate () |
int | SyncLST (double newTime) |
int | SyncLocalTime () |
void | Reticle (int reticle) |
void | Focus (int focus) |
void | Derotator (int rotate) |
void | Fan (int fan) |
#define BLINK0 0 /* no blinking */ |
Definition at line 81 of file celestronprotocol.h.
#define BLINK1 1 /* blink rate 1 */ |
Definition at line 82 of file celestronprotocol.h.
#define BLINK2 2 /* blink rate 2 */ |
Definition at line 83 of file celestronprotocol.h.
#define BLINK3 4 /* blink rate 3 */ |
Definition at line 84 of file celestronprotocol.h.
#define BRIGHTER 16 /* increase */ |
Definition at line 79 of file celestronprotocol.h.
#define CENTER 2 |
Definition at line 56 of file celestronprotocol.h.
#define DIMMER 8 /* decrease */ |
Definition at line 80 of file celestronprotocol.h.
#define EAST 2 |
Definition at line 67 of file celestronprotocol.h.
#define FANOFF 0 /* cooling fan off */ |
Definition at line 102 of file celestronprotocol.h.
#define FANON 1 /* cooling fan on */ |
Definition at line 101 of file celestronprotocol.h.
#define FIND 1 |
Definition at line 55 of file celestronprotocol.h.
#define FOCUSFAST 2 /* full voltage */ |
Definition at line 92 of file celestronprotocol.h.
#define FOCUSIN 4 /* negative voltage output */ |
Definition at line 89 of file celestronprotocol.h.
#define FOCUSOUT 8 /* positive voltage output */ |
Definition at line 88 of file celestronprotocol.h.
#define FOCUSSLOW 1 /* half voltage */ |
Definition at line 91 of file celestronprotocol.h.
#define FOCUSSTOP 0 /* no output */ |
Definition at line 90 of file celestronprotocol.h.
#define GUIDE 3 |
Definition at line 57 of file celestronprotocol.h.
#define HIGHER 0. |
Definition at line 41 of file celestronprotocol.h.
#define LOWER 90. |
Definition at line 36 of file celestronprotocol.h.
#define MAXSLEWRATE 4 /* 2 for safety; 4 for 16-inch; 8 otherwise. */ |
Definition at line 49 of file celestronprotocol.h.
#define NORTH 0 |
Definition at line 63 of file celestronprotocol.h.
#define REVERSE_NS 0 /* 1 for reverse; 0 for normal. */ |
Definition at line 45 of file celestronprotocol.h.
#define ROTATOROFF 0 /* image rotator off */ |
Definition at line 97 of file celestronprotocol.h.
#define ROTATORON 1 /* image rotator on */ |
Definition at line 96 of file celestronprotocol.h.
#define SLEW 0 |
Definition at line 54 of file celestronprotocol.h.
#define SLEWRATE2 2 /* should be 2 degrees per second */ |
Definition at line 75 of file celestronprotocol.h.
#define SLEWRATE3 3 /* should be 3 degrees per second */ |
Definition at line 74 of file celestronprotocol.h.
#define SLEWRATE4 4 /* should be 4 degrees per second */ |
Definition at line 73 of file celestronprotocol.h.
#define SLEWRATE8 8 /* should be 8 degrees per second (not 16-inch) */ |
Definition at line 72 of file celestronprotocol.h.
#define SOUTH 3 |
Definition at line 64 of file celestronprotocol.h.
#define WEST 1 |
Definition at line 68 of file celestronprotocol.h.
int CheckConnectTel | ( | ) |
Definition at line 102 of file celestronprotocol.c.
int CheckCoords | ( | double | desRA, |
double | desDec, | ||
double | tolRA, | ||
double | tolDEC | ||
) |
Definition at line 703 of file celestronprotocol.c.
int ConnectTel | ( | char * | port | ) |
Definition at line 125 of file celestronprotocol.c.
void Derotator | ( | int | rotate | ) |
Definition at line 794 of file celestronprotocol.c.
void DisconnectTel | ( | ) |
Definition at line 304 of file celestronprotocol.c.
void Fan | ( | int | fan | ) |
Definition at line 803 of file celestronprotocol.c.
void Focus | ( | int | focus | ) |
Definition at line 786 of file celestronprotocol.c.
double GetDec | ( | ) |
Definition at line 332 of file celestronprotocol.c.
double GetRA | ( | ) |
Definition at line 318 of file celestronprotocol.c.
int isScopeSlewing | ( | ) |
Definition at line 342 of file celestronprotocol.c.
void Reticle | ( | int | reticle | ) |
Definition at line 778 of file celestronprotocol.c.
void SetLimits | ( | double | limitLower, |
double | limitHigher | ||
) |
Definition at line 738 of file celestronprotocol.c.
void SetRate | ( | int | newRate | ) |
Definition at line 185 of file celestronprotocol.c.
int SetSlewRate | ( | ) |
Definition at line 746 of file celestronprotocol.c.
int SlewToCoords | ( | double | newRA, |
double | newDec | ||
) |
Definition at line 542 of file celestronprotocol.c.
int StartSlew | ( | int | direction | ) |
Definition at line 208 of file celestronprotocol.c.
void StopNSEW | ( | ) |
Definition at line 754 of file celestronprotocol.c.
int StopSlew | ( | int | direction | ) |
Definition at line 259 of file celestronprotocol.c.
int SyncLocalTime | ( | ) |
Definition at line 823 of file celestronprotocol.c.
int SyncLST | ( | double | newTime | ) |
Definition at line 814 of file celestronprotocol.c.
int SyncToCoords | ( | double | newRA, |
double | newDec | ||
) |
Definition at line 417 of file celestronprotocol.c.
int updateLocation | ( | double | lng, |
double | lat | ||
) |
Definition at line 455 of file celestronprotocol.c.
int updateTime | ( | struct ln_date * | utc, |
double | utc_offset | ||
) |
Definition at line 497 of file celestronprotocol.c.