40 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
41 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
42 virtual bool ISNewText(
const char *dev,
const char *name,
char **texts,
char **names,
int n)
override;
47 virtual bool Connect()
override;
55 virtual bool Park()
override ;
56 virtual bool UnPark()
override;
66 virtual int SendPulseCmd(int8_t direction, uint32_t duration_msec)
override;
67 virtual bool Flip(
double ra,
double dec)
override;
68 virtual bool Goto(
double ra,
double dec)
override;
72 void syncSideOfPier();
73 bool getRefraction(
bool &on);
74 bool getRefractionJNOW(
int &data);
75 bool setRefraction(
int data);
76 bool setRefraction(
bool on);
79 bool GotoInternal(
double ra,
double dec,
bool flip);
81 bool getGeminiProperty(uint32_t propertyNumber,
char* value);
82 bool setGeminiProperty(uint32_t propertyNumber,
char* value);
85 uint8_t calculateChecksum(
char *
cmd);
109 IText PECCounterT[1];
115 IText PECStateT[6] {};
136 IText VersionT[5] {};
141 ISwitch SetSafetyLimitToCurrentS[1];
147 float gemini_software_level_;
191 PEC_STATUS_FRESH_TRAINED,
192 PEC_STATUS_TRAINING_IN_PROGRESS,
193 PEC_STATUS_TRAINING_COMPLETED,
194 PEC_STATUS_WILL_TRAIN,
195 PEC_STATUS_DATA_AVAILABLE
215 GEMINI_TRACK_SIDEREAL,
219 GEMINI_TRACK_TERRESTRIAL
246 enum ServoPrecisionState
249 RA_PRECISION_ENABLED,
250 DEC_PRECISION_ENABLED
253 enum FlipPointControl
265 const uint8_t GEMINI_TIMEOUT = 3;
268 void updateParkingState();
269 void updateMovementState();
270 MovementState getMovementState();
271 ParkingState getParkingState();
273 ParkingState priorParkingState = PARK_IN_PROGRESS;
virtual bool Connect() override
Connect to the device. INDI::DefaultDevice implementation connects to appropriate connection interfac...
virtual bool Goto(double ra, double dec) override
Move the scope to the supplied RA and DEC coordinates.
virtual bool ISNewText(const char *dev, const char *name, char **texts, char **names, int n) override
virtual bool updateProperties() override
Called when connected state changes, to add/remove properties.
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
virtual bool UnPark() override
Unpark the telescope if already parked.
virtual bool SetTrackMode(uint8_t mode) override
SetTrackMode Set active tracking mode. Do not change track state.
virtual int SendPulseCmd(int8_t direction, uint32_t duration_msec) override
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
virtual bool ReadScopeStatus() override
Read telescope status.
virtual bool saveConfigItems(FILE *fp) override
saveConfigItems Save specific properties in the provide config file handler. Child class usually over...
virtual bool checkConnection() override
virtual const char * getDefaultName() override
virtual bool SetTrackEnabled(bool enabled) override
SetTrackEnabled Engages or disengages mount tracking. If there are no tracking modes available,...
virtual bool isSlewComplete() override
virtual bool initProperties() override
Called to initialize basic properties required all the time.
virtual void ISGetProperties(const char *dev) override
define the driver's properties to the client. Usually, only a minimum set of properties are defined t...
~LX200Gemini() override=default
virtual bool Flip(double ra, double dec) override
Move and flip the scope to the supplied RA and DEC coordinates.
virtual bool Park() override
Park the telescope to its home position.
Number vector property descriptor.
Switch vector property descriptor.
Text vector property descriptor.