Instrument Neutral Distributed Interface INDI
2.0.2
|
Enumerations | |
enum | PECorrection { PECorrectionOff = 0 , PECorrectionOn = 1 } |
enum | RCorrection { RCorrectionOff = 0 , RCorrectionOn = 1 } |
enum | TrackingRateInd { RateSidereal = 0 , RateLunar = 1 , RateSolar = 2 , RateUser1 = 3 , RateUser2 = 4 , RateUser3 = 5 , RateStill = 6 , RateNone = 99 } |
enum | MountType { German = 0 , Fork = 1 , AltAz = 2 , NumMountTypes } |
enum | OTASideOfPier { EastOfPier = 0 , WestOfPier = 1 , InvalidSideOfPier } |
enum | PoleCrossing { PoleCrossingOff = 0 , PoleCrossingOn = 1 } |
enum | Rotation { RotationZero = 0 , RotationOne = 1 } |
enum | SlewMode { SlewMax = 0 , SlewFind , SlewCenter , SlewGuide , NumSlewRates } |
enum | Direction { North = 0 , East , South , West , NumDirections } |
Functions | |
const char * | getDeviceName () |
bool | getVersion (const int fd, char response[]) |
bool | getPECorrection (const int fd, PECorrection *PECra, PECorrection *PECdec) |
bool | getRCorrection (const int fd, RCorrection *Rra, RCorrection *Rdec) |
TrackingRateInd | getTrackingRateInd (const int fd) |
MountType | getMountType (const int fd) |
int | getSpeedInd (const int fd, const char *cmd) |
int | getGuideSpeedInd (const int fd) |
int | getCenterSpeedInd (const int fd) |
int | getFindSpeedInd (const int fd) |
int | getSlewSpeedInd (const int fd) |
int | getGoToSpeedInd (const int fd) |
bool | getSwapTubeDelay (const int fd, int *delay_value) |
bool | getPoleCrossingDirection (const int fd, int *direction) |
bool | getRamp (const int fd, int *ra_ramp, int *dec_ramp) |
bool | setRamp (const int fd, int ra_ramp, int dec_ramp) |
bool | getReduction (const int fd, int *red_ra, int *red_dec) |
bool | setReduction (const int fd, int red_ra, int red_dec) |
bool | getMaingear (const int fd, int *mg_ra, int *mg_dec) |
bool | setMaingear (const int fd, int mg_ra, int mg_dec) |
bool | getBacklash (const int fd, int *bl_min, int *bl_sec) |
bool | setBacklash (const int fd, int bl_min, int bl_sec) |
bool | getHomePosition (const int fd, double *hp_alt, double *hp_az) |
bool | setHomePosition (const int fd, double hp_alt, double hp_az) |
bool | getUserRate (const int fd, int usr_ind, double *ur_ra, double *ur_dec) |
bool | getUserRate1 (const int fd, double *u1_ra, double *u1_dec) |
bool | getUserRate2 (const int fd, double *u2_ra, double *u2_dec) |
bool | getUserRate3 (const int fd, double *u3_ra, double *u3_dec) |
bool | setUserRate (const int fd, int usr_ind, double ur_ra, double ur_dec) |
bool | setUserRate1 (const int fd, double ur_ra, double ur_dec) |
bool | setUserRate2 (const int fd, double ur_ra, double ur_dec) |
bool | setUserRate3 (const int fd, double ur_ra, double ur_dec) |
int | getCurrentValue (const int fd, const char *cmd) |
int | getTrackingCurrent (const int fd) |
int | getStopCurrent (const int fd) |
int | getGoToCurrent (const int fd) |
bool | setMountType (const int fd, Pulsar2Commands::MountType mtype) |
bool | setCurrentValue (const int fd, const char *partialCmd, const int mA, const int maxmA) |
bool | setTrackingCurrent (const int fd, const int mA) |
bool | setStopCurrent (const int fd, const int mA) |
bool | setGoToCurrent (const int fd, const int mA) |
bool | setSpeedInd (const int fd, const char *partialCmd, const int speedInd, const int maxInd) |
bool | setGuideSpeedInd (const int fd, const int speedInd) |
bool | setCenterSpeedInd (const int fd, const int speedInd) |
bool | setFindSpeedInd (const int fd, const int speedInd) |
bool | setSlewSpeedInd (const int fd, const int speedInd) |
bool | setGoToSpeedInd (const int fd, const int speedInd) |
bool | getSideOfPier (const int fd, OTASideOfPier *ota_side_of_pier) |
bool | getPoleCrossing (const int fd, PoleCrossing *pole_crossing) |
bool | getRotation (const int fd, Rotation *rot_ra, Rotation *rot_dec) |
bool | getSexa (const int fd, const char *cmd, double *value) |
bool | getObjectRADec (const int fd, double *ra, double *dec) |
bool | getSiteLatitudeLongitude (const int fd, double *lat, double *lon) |
bool | getUTCDate (const int fd, int *m, int *d, int *y) |
bool | getUTCTime (const int fd, int *h, int *m, int *s) |
bool | setDegreesMinutes (const int fd, const char *partialCmd, const double value) |
bool | setSite (const int fd, const double longitude, const double latitude) |
bool | setSlewMode (const int fd, const SlewMode slewMode) |
bool | moveTo (const int fd, const Direction direction) |
bool | haltMovement (const int fd, const Direction direction) |
bool | startSlew (const int fd) |
bool | abortSlew (const int fd) |
bool | pulseGuide (const int fd, const Direction direction, uint32_t ms) |
bool | setTime (const int fd, const int h, const int m, const int s) |
bool | setDate (const int fd, const int dd, const int mm, const int yy) |
bool | ensureLongFormat (const int fd) |
bool | setObjectRA (const int fd, const double ra) |
bool | setObjectDEC (const int fd, const double dec) |
bool | setObjectRADec (const int fd, const double ra, const double dec) |
bool | park (const int fd) |
bool | unpark (const int fd) |
bool | sync (const int fd) |
bool | setSideOfPier (const int fd, const OTASideOfPier ota_side_of_pier) |
bool | setTrackingRateInd (const int fd, const TrackingRateInd tri) |
bool | setPECorrection (const int fd, const PECorrection pec_ra, const PECorrection pec_dec) |
bool | setPoleCrossing (const int fd, const PoleCrossing pole_crossing) |
bool | setRCorrection (const int fd, const RCorrection rc_ra, const RCorrection rc_dec) |
bool | setRotation (const int fd, const Rotation rot_ra, const Rotation rot_dec) |
bool | isHomeSet (const int fd) |
bool | isParked (const int fd) |
bool | isParking (const int fd) |
Enumerator | |
---|---|
North | |
East | |
South | |
West | |
NumDirections |
Definition at line 431 of file lx200pulsar2.cpp.
Enumerator | |
---|---|
German | |
Fork | |
AltAz | |
NumMountTypes |
Definition at line 395 of file lx200pulsar2.cpp.
Enumerator | |
---|---|
EastOfPier | |
WestOfPier | |
InvalidSideOfPier |
Definition at line 403 of file lx200pulsar2.cpp.
Enumerator | |
---|---|
PECorrectionOff | |
PECorrectionOn |
Definition at line 371 of file lx200pulsar2.cpp.
Enumerator | |
---|---|
PoleCrossingOff | |
PoleCrossingOn |
Definition at line 410 of file lx200pulsar2.cpp.
Enumerator | |
---|---|
RCorrectionOff | |
RCorrectionOn |
Definition at line 377 of file lx200pulsar2.cpp.
Enumerator | |
---|---|
RotationZero | |
RotationOne |
Definition at line 416 of file lx200pulsar2.cpp.
Enumerator | |
---|---|
SlewMax | |
SlewFind | |
SlewCenter | |
SlewGuide | |
NumSlewRates |
Definition at line 422 of file lx200pulsar2.cpp.
Enumerator | |
---|---|
RateSidereal | |
RateLunar | |
RateSolar | |
RateUser1 | |
RateUser2 | |
RateUser3 | |
RateStill | |
RateNone |
Definition at line 383 of file lx200pulsar2.cpp.
bool Pulsar2Commands::abortSlew | ( | const int | fd | ) |
Definition at line 1064 of file lx200pulsar2.cpp.
bool Pulsar2Commands::ensureLongFormat | ( | const int | fd | ) |
Definition at line 1119 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getBacklash | ( | const int | fd, |
int * | bl_min, | ||
int * | bl_sec | ||
) |
Definition at line 660 of file lx200pulsar2.cpp.
int Pulsar2Commands::getCenterSpeedInd | ( | const int | fd | ) |
Definition at line 556 of file lx200pulsar2.cpp.
int Pulsar2Commands::getCurrentValue | ( | const int | fd, |
const char * | cmd | ||
) |
Definition at line 781 of file lx200pulsar2.cpp.
const char* Pulsar2Commands::getDeviceName | ( | ) |
Definition at line 458 of file lx200pulsar2.cpp.
int Pulsar2Commands::getFindSpeedInd | ( | const int | fd | ) |
Definition at line 561 of file lx200pulsar2.cpp.
int Pulsar2Commands::getGoToCurrent | ( | const int | fd | ) |
Definition at line 804 of file lx200pulsar2.cpp.
int Pulsar2Commands::getGoToSpeedInd | ( | const int | fd | ) |
Definition at line 571 of file lx200pulsar2.cpp.
int Pulsar2Commands::getGuideSpeedInd | ( | const int | fd | ) |
Definition at line 551 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getHomePosition | ( | const int | fd, |
double * | hp_alt, | ||
double * | hp_az | ||
) |
Definition at line 683 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getMaingear | ( | const int | fd, |
int * | mg_ra, | ||
int * | mg_dec | ||
) |
Definition at line 637 of file lx200pulsar2.cpp.
MountType Pulsar2Commands::getMountType | ( | const int | fd | ) |
Definition at line 509 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getObjectRADec | ( | const int | fd, |
double * | ra, | ||
double * | dec | ||
) |
Definition at line 928 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getPECorrection | ( | const int | fd, |
PECorrection * | PECra, | ||
PECorrection * | PECdec | ||
) |
Definition at line 470 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getPoleCrossing | ( | const int | fd, |
PoleCrossing * | pole_crossing | ||
) |
Definition at line 892 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getPoleCrossingDirection | ( | const int | fd, |
int * | direction | ||
) |
Definition at line 583 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getRamp | ( | const int | fd, |
int * | ra_ramp, | ||
int * | dec_ramp | ||
) |
Definition at line 590 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getRCorrection | ( | const int | fd, |
RCorrection * | Rra, | ||
RCorrection * | Rdec | ||
) |
Definition at line 481 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getReduction | ( | const int | fd, |
int * | red_ra, | ||
int * | red_dec | ||
) |
Definition at line 613 of file lx200pulsar2.cpp.
Definition at line 898 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getSexa | ( | const int | fd, |
const char * | cmd, | ||
double * | value | ||
) |
Definition at line 911 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getSideOfPier | ( | const int | fd, |
OTASideOfPier * | ota_side_of_pier | ||
) |
Definition at line 882 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getSiteLatitudeLongitude | ( | const int | fd, |
double * | lat, | ||
double * | lon | ||
) |
Definition at line 965 of file lx200pulsar2.cpp.
int Pulsar2Commands::getSlewSpeedInd | ( | const int | fd | ) |
Definition at line 566 of file lx200pulsar2.cpp.
int Pulsar2Commands::getSpeedInd | ( | const int | fd, |
const char * | cmd | ||
) |
Definition at line 538 of file lx200pulsar2.cpp.
int Pulsar2Commands::getStopCurrent | ( | const int | fd | ) |
Definition at line 799 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getSwapTubeDelay | ( | const int | fd, |
int * | delay_value | ||
) |
Definition at line 577 of file lx200pulsar2.cpp.
int Pulsar2Commands::getTrackingCurrent | ( | const int | fd | ) |
Definition at line 794 of file lx200pulsar2.cpp.
TrackingRateInd Pulsar2Commands::getTrackingRateInd | ( | const int | fd | ) |
Definition at line 492 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getUserRate | ( | const int | fd, |
int | usr_ind, | ||
double * | ur_ra, | ||
double * | ur_dec | ||
) |
Definition at line 712 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getUserRate1 | ( | const int | fd, |
double * | u1_ra, | ||
double * | u1_dec | ||
) |
Definition at line 732 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getUserRate2 | ( | const int | fd, |
double * | u2_ra, | ||
double * | u2_dec | ||
) |
Definition at line 737 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getUserRate3 | ( | const int | fd, |
double * | u3_ra, | ||
double * | u3_dec | ||
) |
Definition at line 742 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getUTCDate | ( | const int | fd, |
int * | m, | ||
int * | d, | ||
int * | y | ||
) |
Definition at line 988 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getUTCTime | ( | const int | fd, |
int * | h, | ||
int * | m, | ||
int * | s | ||
) |
Definition at line 1006 of file lx200pulsar2.cpp.
bool Pulsar2Commands::getVersion | ( | const int | fd, |
char | response[] | ||
) |
Definition at line 465 of file lx200pulsar2.cpp.
bool Pulsar2Commands::haltMovement | ( | const int | fd, |
const Direction | direction | ||
) |
Definition at line 1049 of file lx200pulsar2.cpp.
bool Pulsar2Commands::isHomeSet | ( | const int | fd | ) |
Definition at line 1248 of file lx200pulsar2.cpp.
bool Pulsar2Commands::isParked | ( | const int | fd | ) |
Definition at line 1255 of file lx200pulsar2.cpp.
bool Pulsar2Commands::isParking | ( | const int | fd | ) |
Definition at line 1262 of file lx200pulsar2.cpp.
bool Pulsar2Commands::moveTo | ( | const int | fd, |
const Direction | direction | ||
) |
Definition at line 1043 of file lx200pulsar2.cpp.
bool Pulsar2Commands::park | ( | const int | fd | ) |
Definition at line 1161 of file lx200pulsar2.cpp.
bool Pulsar2Commands::pulseGuide | ( | const int | fd, |
const Direction | direction, | ||
uint32_t | ms | ||
) |
Definition at line 1070 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setBacklash | ( | const int | fd, |
int | bl_min, | ||
int | bl_sec | ||
) |
Definition at line 672 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setCenterSpeedInd | ( | const int | fd, |
const int | speedInd | ||
) |
Definition at line 857 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setCurrentValue | ( | const int | fd, |
const char * | partialCmd, | ||
const int | mA, | ||
const int | maxmA | ||
) |
Definition at line 817 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setDate | ( | const int | fd, |
const int | dd, | ||
const int | mm, | ||
const int | yy | ||
) |
Definition at line 1109 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setDegreesMinutes | ( | const int | fd, |
const char * | partialCmd, | ||
const double | value | ||
) |
Definition at line 1021 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setFindSpeedInd | ( | const int | fd, |
const int | speedInd | ||
) |
Definition at line 863 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setGoToCurrent | ( | const int | fd, |
const int | mA | ||
) |
Definition at line 837 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setGoToSpeedInd | ( | const int | fd, |
const int | speedInd | ||
) |
Definition at line 875 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setGuideSpeedInd | ( | const int | fd, |
const int | speedInd | ||
) |
Definition at line 852 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setHomePosition | ( | const int | fd, |
double | hp_alt, | ||
double | hp_az | ||
) |
Definition at line 696 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setMaingear | ( | const int | fd, |
int | mg_ra, | ||
int | mg_dec | ||
) |
Definition at line 649 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setMountType | ( | const int | fd, |
Pulsar2Commands::MountType | mtype | ||
) |
Definition at line 809 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setObjectDEC | ( | const int | fd, |
const double | dec | ||
) |
Definition at line 1144 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setObjectRA | ( | const int | fd, |
const double | ra | ||
) |
Definition at line 1134 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setObjectRADec | ( | const int | fd, |
const double | ra, | ||
const double | dec | ||
) |
Definition at line 1155 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setPECorrection | ( | const int | fd, |
const PECorrection | pec_ra, | ||
const PECorrection | pec_dec | ||
) |
Definition at line 1208 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setPoleCrossing | ( | const int | fd, |
const PoleCrossing | pole_crossing | ||
) |
Definition at line 1217 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setRamp | ( | const int | fd, |
int | ra_ramp, | ||
int | dec_ramp | ||
) |
Definition at line 602 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setRCorrection | ( | const int | fd, |
const RCorrection | rc_ra, | ||
const RCorrection | rc_dec | ||
) |
Definition at line 1225 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setReduction | ( | const int | fd, |
int | red_ra, | ||
int | red_dec | ||
) |
Definition at line 625 of file lx200pulsar2.cpp.
Definition at line 1235 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setSideOfPier | ( | const int | fd, |
const OTASideOfPier | ota_side_of_pier | ||
) |
Definition at line 1189 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setSite | ( | const int | fd, |
const double | longitude, | ||
const double | latitude | ||
) |
Definition at line 1032 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setSlewMode | ( | const int | fd, |
const SlewMode | slewMode | ||
) |
Definition at line 1037 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setSlewSpeedInd | ( | const int | fd, |
const int | speedInd | ||
) |
Definition at line 869 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setSpeedInd | ( | const int | fd, |
const char * | partialCmd, | ||
const int | speedInd, | ||
const int | maxInd | ||
) |
Definition at line 842 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setStopCurrent | ( | const int | fd, |
const int | mA | ||
) |
Definition at line 832 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setTime | ( | const int | fd, |
const int | h, | ||
const int | m, | ||
const int | s | ||
) |
Definition at line 1101 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setTrackingCurrent | ( | const int | fd, |
const int | mA | ||
) |
Definition at line 827 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setTrackingRateInd | ( | const int | fd, |
const TrackingRateInd | tri | ||
) |
Definition at line 1197 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setUserRate | ( | const int | fd, |
int | usr_ind, | ||
double | ur_ra, | ||
double | ur_dec | ||
) |
Definition at line 749 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setUserRate1 | ( | const int | fd, |
double | ur_ra, | ||
double | ur_dec | ||
) |
Definition at line 764 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setUserRate2 | ( | const int | fd, |
double | ur_ra, | ||
double | ur_dec | ||
) |
Definition at line 769 of file lx200pulsar2.cpp.
bool Pulsar2Commands::setUserRate3 | ( | const int | fd, |
double | ur_ra, | ||
double | ur_dec | ||
) |
Definition at line 774 of file lx200pulsar2.cpp.
bool Pulsar2Commands::startSlew | ( | const int | fd | ) |
Definition at line 1056 of file lx200pulsar2.cpp.
bool Pulsar2Commands::sync | ( | const int | fd | ) |
Definition at line 1182 of file lx200pulsar2.cpp.
bool Pulsar2Commands::unpark | ( | const int | fd | ) |
Definition at line 1168 of file lx200pulsar2.cpp.