Instrument Neutral Distributed Interface INDI
2.0.2
|
Go to the source code of this file.
Macros | |
#define | setAPPark(fd) write(fd, "#:KA#", 4) |
#define | setAPUnPark(fd) write(fd, "#:PO#", 4) |
#define | getAPVersionNumber(fd, x) getCommandString(fd, x, "#:V#") |
#define | setAPClearBuffer(fd) write(fd, "#", 1) /* AP key pad manual startup sequence */ |
#define | setAPBackLashCompensation(fd, x, y, z) setCommandXYZ(fd, x, y, z, "#:Br") |
#define | AP_TRACKING_SIDEREAL 0 |
#define | AP_TRACKING_SOLAR 1 |
#define | AP_TRACKING_LUNAR 2 |
#define | AP_TRACKING_CUSTOM 3 |
#define | AP_TRACKING_OFF 4 |
#define | AP_PEC_OFF 0 |
#define | AP_PEC_ON 1 |
#define | AP_PEC_RECORD 2 |
#define | AP_PEC_ENCODER 3 |
Enumerations | |
enum | APRateTableState { AP_RATE_TABLE_0 = 0 , AP_RATE_TABLE_1 = 1 , AP_RATE_TABLE_2 = 2 , AP_RATE_TABLE_3 = 3 , AP_RATE_TABLE_DEFAULT = -1 } |
Functions | |
void | set_lx200ap_name (const char *deviceName, unsigned int debug_level) |
int | check_lx200ap_connection (int fd) |
int | getAPUTCOffset (int fd, double *value) |
int | setAPObjectAZ (int fd, double az) |
int | setAPObjectAlt (int fd, double alt) |
int | setAPUTCOffset (int fd, double hours) |
int | setAPSlewMode (int fd, int slewMode) |
int | APSyncCM (int fd, char *matchedObject) |
int | APSyncCMR (int fd, char *matchedObject) |
int | selectAPMoveToRate (int fd, int moveToIndex) |
int | selectAPSlewRate (int fd, int slewIndex) |
int | selectAPCenterRate (int fd, int centerIndex) |
int | selectAPV2CenterRate (int fd, int centerIndex, APRateTableState rateTable) |
int | selectAPTrackingMode (int fd, int trackMode) |
int | selectAPGuideRate (int fd, int guideRate) |
int | selectAPPECState (int fd, int pecstate) |
int | swapAPButtons (int fd, int currentSwap) |
int | setAPObjectRA (int fd, double ra) |
int | setAPObjectDEC (int fd, double dec) |
int | setAPSiteLongitude (int fd, double Long) |
int | setAPSiteLatitude (int fd, double Lat) |
int | setAPRATrackRate (int fd, double rate) |
int | setAPDETrackRate (int fd, double rate) |
int | APSendPulseCmd (int fd, int direction, int duration_msec) |
void | set_lx200ap_exp_name (const char *deviceName, unsigned int debug_level) |
int | check_lx200ap_status (int fd, char *parkStatus, char *slewStatus) |
int | APParkMount (int fd) |
int | APUnParkMount (int fd) |
int | getAPWormPosition (int fd, int *position) |
int | getApStatusString (int fd, char *statusString) |
bool | apStatusParked (const char *statusString) |
bool | apStatusSlewing (const char *statusString) |
const char * | apMountStatus (const char *statusString) |
int | isAPInitialized (int fd, bool *isInitialized) |
APRateTableState | apRateTable (const char *statusString) |
int | getApMountFeatures (int fd, bool *hasEncoder, bool *clutchAware) |
bool | apCanHome (int fd) |
int | apHomeAndSync (int fd) |
#define AP_PEC_ENCODER 3 |
Definition at line 41 of file lx200apdriver.h.
#define AP_PEC_OFF 0 |
Definition at line 38 of file lx200apdriver.h.
#define AP_PEC_ON 1 |
Definition at line 39 of file lx200apdriver.h.
#define AP_PEC_RECORD 2 |
Definition at line 40 of file lx200apdriver.h.
#define AP_TRACKING_CUSTOM 3 |
Definition at line 35 of file lx200apdriver.h.
#define AP_TRACKING_LUNAR 2 |
Definition at line 34 of file lx200apdriver.h.
#define AP_TRACKING_OFF 4 |
Definition at line 36 of file lx200apdriver.h.
#define AP_TRACKING_SIDEREAL 0 |
Definition at line 32 of file lx200apdriver.h.
#define AP_TRACKING_SOLAR 1 |
Definition at line 33 of file lx200apdriver.h.
#define getAPVersionNumber | ( | fd, | |
x | |||
) | getCommandString(fd, x, "#:V#") |
Definition at line 28 of file lx200apdriver.h.
#define setAPBackLashCompensation | ( | fd, | |
x, | |||
y, | |||
z | |||
) | setCommandXYZ(fd, x, y, z, "#:Br") |
Definition at line 30 of file lx200apdriver.h.
Definition at line 29 of file lx200apdriver.h.
Definition at line 24 of file lx200apdriver.h.
Definition at line 25 of file lx200apdriver.h.
enum APRateTableState |
Enumerator | |
---|---|
AP_RATE_TABLE_0 | |
AP_RATE_TABLE_1 | |
AP_RATE_TABLE_2 | |
AP_RATE_TABLE_3 | |
AP_RATE_TABLE_DEFAULT |
Definition at line 57 of file lx200apdriver.h.
bool apCanHome | ( | int | fd | ) |
Definition at line 1021 of file lx200apdriver.cpp.
int apHomeAndSync | ( | int | fd | ) |
Definition at line 1030 of file lx200apdriver.cpp.
const char* apMountStatus | ( | const char * | statusString | ) |
Definition at line 879 of file lx200apdriver.cpp.
int APParkMount | ( | int | fd | ) |
Definition at line 693 of file lx200apdriver.cpp.
APRateTableState apRateTable | ( | const char * | statusString | ) |
Definition at line 924 of file lx200apdriver.cpp.
int APSendPulseCmd | ( | int | fd, |
int | direction, | ||
int | duration_msec | ||
) |
Definition at line 659 of file lx200apdriver.cpp.
bool apStatusParked | ( | const char * | statusString | ) |
Definition at line 913 of file lx200apdriver.cpp.
bool apStatusSlewing | ( | const char * | statusString | ) |
Definition at line 918 of file lx200apdriver.cpp.
int APSyncCM | ( | int | fd, |
char * | matchedObject | ||
) |
Definition at line 284 of file lx200apdriver.cpp.
int APSyncCMR | ( | int | fd, |
char * | matchedObject | ||
) |
Definition at line 312 of file lx200apdriver.cpp.
int APUnParkMount | ( | int | fd | ) |
Definition at line 699 of file lx200apdriver.cpp.
int check_lx200ap_connection | ( | int | fd | ) |
Definition at line 53 of file lx200apdriver.cpp.
int check_lx200ap_status | ( | int | fd, |
char * | parkStatus, | ||
char * | slewStatus | ||
) |
Definition at line 861 of file lx200apdriver.cpp.
int getApMountFeatures | ( | int | fd, |
bool * | hasEncoder, | ||
bool * | clutchAware | ||
) |
Definition at line 973 of file lx200apdriver.cpp.
int getApStatusString | ( | int | fd, |
char * | statusString | ||
) |
Definition at line 841 of file lx200apdriver.cpp.
int getAPUTCOffset | ( | int | fd, |
double * | value | ||
) |
Definition at line 101 of file lx200apdriver.cpp.
int getAPWormPosition | ( | int | fd, |
int * | position | ||
) |
Definition at line 375 of file lx200apdriver.cpp.
int isAPInitialized | ( | int | fd, |
bool * | isInitialized | ||
) |
Definition at line 1035 of file lx200apdriver.cpp.
int selectAPCenterRate | ( | int | fd, |
int | centerIndex | ||
) |
Definition at line 709 of file lx200apdriver.cpp.
int selectAPGuideRate | ( | int | fd, |
int | guideRate | ||
) |
Definition at line 464 of file lx200apdriver.cpp.
int selectAPMoveToRate | ( | int | fd, |
int | moveToIndex | ||
) |
Definition at line 408 of file lx200apdriver.cpp.
int selectAPPECState | ( | int | fd, |
int | pecstate | ||
) |
Definition at line 354 of file lx200apdriver.cpp.
int selectAPSlewRate | ( | int | fd, |
int | slewIndex | ||
) |
Definition at line 426 of file lx200apdriver.cpp.
int selectAPTrackingMode | ( | int | fd, |
int | trackMode | ||
) |
Definition at line 442 of file lx200apdriver.cpp.
int selectAPV2CenterRate | ( | int | fd, |
int | centerIndex, | ||
APRateTableState | rateTable | ||
) |
Definition at line 729 of file lx200apdriver.cpp.
void set_lx200ap_exp_name | ( | const char * | deviceName, |
unsigned int | debug_level | ||
) |
void set_lx200ap_name | ( | const char * | deviceName, |
unsigned int | debug_level | ||
) |
Definition at line 47 of file lx200apdriver.cpp.
int setAPDETrackRate | ( | int | fd, |
double | rate | ||
) |
Definition at line 610 of file lx200apdriver.cpp.
int setAPObjectAlt | ( | int | fd, |
double | alt | ||
) |
Definition at line 251 of file lx200apdriver.cpp.
int setAPObjectAZ | ( | int | fd, |
double | az | ||
) |
Definition at line 231 of file lx200apdriver.cpp.
int setAPObjectDEC | ( | int | fd, |
double | dec | ||
) |
Definition at line 513 of file lx200apdriver.cpp.
int setAPObjectRA | ( | int | fd, |
double | ra | ||
) |
Definition at line 494 of file lx200apdriver.cpp.
int setAPRATrackRate | ( | int | fd, |
double | rate | ||
) |
Definition at line 562 of file lx200apdriver.cpp.
int setAPSiteLatitude | ( | int | fd, |
double | Lat | ||
) |
Definition at line 547 of file lx200apdriver.cpp.
int setAPSiteLongitude | ( | int | fd, |
double | Long | ||
) |
Definition at line 529 of file lx200apdriver.cpp.
int setAPSlewMode | ( | int | fd, |
int | slewMode | ||
) |
int setAPUTCOffset | ( | int | fd, |
double | hours | ||
) |
Definition at line 269 of file lx200apdriver.cpp.
int swapAPButtons | ( | int | fd, |
int | currentSwap | ||
) |
Definition at line 480 of file lx200apdriver.cpp.