34 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
47 virtual bool Goto(
double,
double)
override;
48 virtual bool Sync(
double ra,
double dec)
override;
49 virtual bool updateTime(ln_date *utc,
double utc_offset)
override;
50 virtual bool updateLocation(
double latitude,
double longitude,
double elevation)
override;
54 virtual bool Park()
override;
55 virtual bool UnPark()
override;
58 int setGotoNovaStandardProcedure(
int fd,
const char *data);
59 void setGuidingEnabled(
bool enable);
60 int GotonovaSyncCMR(
char *matchedObject);
63 int setGotoNovaLatitude(
double Lat);
64 int setGotoNovaLongitude(
double Long);
65 int setGotoNovaUTCOffset(
double hours);
66 int setCalenderDate(
int fd,
int dd,
int mm,
int yy);
72 int setGotoNovaParkPosition(
int position);
75 int setGotoNovaTrackMode(
int mode);
76 int getGotoNovaTrackMode(
int *mode);
79 int setGotoNovaGuideRate(
int rate);
80 int getGotoNovaGuideRate(
int *rate);
83 void syncSideOfPier();
91 enum { PS_NORTH_POLE, PS_LEFT_VERTICAL, PS_LEFT_HORIZON, PS_RIGHT_VERTICAL, PS_RIGHT_HORIZON };
96 enum { USE_REGULAR_SYNC, USE_CMR_SYNC };
103 bool isGuiding =
false;
virtual bool isSlewComplete() override
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
virtual bool SetSlewRate(int index) override
SetSlewRate Set desired slew rate index.
virtual bool checkConnection() override
virtual bool saveConfigItems(FILE *fp) override
saveConfigItems Save specific properties in the provide config file handler. Child class usually over...
virtual bool Park() override
Park the telescope to its home position.
virtual bool Goto(double, double) override
Move the scope to the supplied RA and DEC coordinates.
virtual bool UnPark() override
Unpark the telescope if already parked.
virtual bool updateLocation(double latitude, double longitude, double elevation) override
Update telescope location settings.
virtual bool ReadScopeStatus() override
Read telescope status.
virtual void getBasicData() override
virtual const char * getDefaultName() override
virtual bool Sync(double ra, double dec) override
Set the telescope current RA and DEC coordinates to the supplied RA and DEC coordinates.
virtual bool updateProperties() override
Called when connected state changes, to add/remove properties.
virtual bool initProperties() override
Called to initialize basic properties required all the time.
virtual bool updateTime(ln_date *utc, double utc_offset) override
Update telescope time, date, and UTC offset.
virtual bool SetTrackMode(uint8_t mode) override
SetTrackMode Set active tracking mode. Do not change track state.
Switch vector property descriptor.