35 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
50 virtual bool Park()
override;
51 virtual bool UnPark()
override;
53 virtual bool Sync(
double ra,
double dec)
override;
54 virtual bool Goto(
double,
double)
override;
55 virtual bool updateTime(ln_date *utc,
double utc_offset)
override;
56 virtual bool updateLocation(
double latitude,
double longitude,
double elevation)
override;
59 virtual int SendPulseCmd(int8_t direction, uint32_t duration_msec)
override;
66 virtual bool SetTrackRate(
double raRate,
double deRate)
override;
97 void syncSideOfPier();
99 bool timeUpdated =
false, locationUpdated =
false;
102 double currentAlt = 0, currentAz = 0;
103 double lastRA = 0, lastDE = 0;
104 double lastAZ = 0, lastAL = 0;
106 bool motionCommanded =
true;
107 bool mountInitialized =
false;
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...
virtual bool SetTrackEnabled(bool enabled) override
SetTrackEnabled Engages or disengages mount tracking. If there are no tracking modes available,...
virtual bool Handshake() override
perform handshake with device to check communication
INDI::PropertySwitch SyncCMRSP
virtual const char * getDefaultName() override
virtual bool updateProperties() override
Called when connected state changes, to add/remove properties.
INDI::PropertyNumber HorizontalCoordsNP
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.
void handleGTOCP2MotionBug()
virtual bool Disconnect() override
Disconnect from device.
virtual bool updateLocation(double latitude, double longitude, double elevation) override
Update telescope location settings.
LX200AstroPhysicsGTOCP2()
virtual int SendPulseCmd(int8_t direction, uint32_t duration_msec) override
virtual bool MoveWE(INDI_DIR_WE dir, TelescopeMotionCommand command) override
Move the telescope in the direction dir.
virtual bool SetDefaultPark() override
SetDefaultPark Set default coordinates/encoders value as the desired parking position.
virtual bool saveConfigItems(FILE *fp) override
saveConfigItems Save specific properties in the provide config file handler. Child class usually over...
INDI::PropertyNumber HourangleCoordsNP
virtual bool getUTFOffset(double *offset) override
INDI::PropertySwitch APGuideSpeedSP
virtual void debugTriggered(bool enable) override
Inform driver that the debug option was triggered. This function is called after setDebug is triggere...
virtual bool initProperties() override
Called to initialize basic properties required all the time.
virtual bool SetTrackRate(double raRate, double deRate) override
SetTrackRate Set custom tracking rates.
~LX200AstroPhysicsGTOCP2()
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
INDI::PropertySwitch APSlewSpeedSP
virtual bool ReadScopeStatus() override
Read telescope status.
virtual bool SetCurrentPark() override
SetCurrentPark Set current coordinates/encoders value as the desired parking position.
INDI::PropertySwitch SwapSP
virtual bool Park() override
Park the telescope to its home position.
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 UnPark() override
Unpark the telescope if already parked.
virtual bool Goto(double, double) override
Move the scope to the supplied RA and DEC coordinates.
virtual bool MoveNS(INDI_DIR_NS dir, TelescopeMotionCommand command) override
Start or Stop the telescope motion in the direction dir.
INDI::PropertyText VersionTP