55 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
56 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
77 virtual bool Park()
override;
78 virtual bool UnPark()
override;
80 virtual bool Sync(
double ra,
double dec)
override;
81 virtual bool Goto(
double,
double)
override;
82 virtual bool Abort()
override;
85 virtual bool updateTime(ln_date *utc,
double utc_offset)
override;
86 virtual bool updateLocation(
double latitude,
double longitude,
double elevation)
override;
99 virtual bool SetTrackRate(
double raRate,
double deRate)
override;
140 void getStartupData();
142 uint8_t convertToPMC8TrackMode(uint8_t mode);
143 uint8_t convertFromPMC8TrackMode(uint8_t mode);
146 IText FirmwareT[1] {};
171 unsigned int DBG_SCOPE;
172 double currentRA, currentDEC;
173 double targetRA, targetDEC;
175 int trackingPollCounter = 0;
177 bool isPulsingNS =
false;
178 bool isPulsingWE =
false;
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
static void guideTimeoutHelperE(void *p)
virtual void simulationTriggered(bool enable) override
Inform driver that the simulation option was triggered. This function is called after setSimulation i...
virtual bool SetSlewRate(int index) override
SetSlewRate Set desired slew rate index.
bool ramp_movement(PMC8_DIRECTION calldir)
virtual bool Handshake() override
perform handshake with device to check communication
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...
virtual bool MoveNS(INDI_DIR_NS dir, TelescopeMotionCommand command) override
Start or Stop the telescope motion in the direction dir.
virtual bool updateProperties() override
Called when connected state changes, to add/remove properties.
static void rampTimeoutHelperN(void *p)
virtual bool Sync(double ra, double dec) override
Set the telescope current RA and DEC coordinates to the supplied RA and DEC coordinates.
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 updateTime(ln_date *utc, double utc_offset) override
Update telescope time, date, and UTC offset.
static void AbortGotoTimeoutHelper(void *p)
virtual const char * getDefaultName() override
virtual bool SetTrackEnabled(bool enabled) override
SetTrackEnabled Engages or disengages mount tracking. If there are no tracking modes available,...
static void rampTimeoutHelperS(void *p)
virtual IPState GuideNorth(uint32_t ms) override
Guide north for ms milliseconds. North is defined as DEC+.
virtual bool ReadScopeStatus() override
Read telescope status.
virtual bool MoveWE(INDI_DIR_WE dir, TelescopeMotionCommand command) override
Move the telescope in the direction dir.
static void rampTimeoutHelperE(void *p)
virtual bool Park() override
Park the telescope to its home position.
virtual bool SetCurrentPark() override
SetCurrentPark Set current coordinates/encoders value as the desired parking position.
virtual void debugTriggered(bool enable) override
Inform driver that the debug option was triggered. This function is called after setDebug is triggere...
virtual bool SetTrackRate(double raRate, double deRate) override
SetTrackRate Set custom tracking rates.
virtual IPState GuideWest(uint32_t ms) override
Guide west for ms milliseconds. West is defined as RA-.
virtual bool updateLocation(double latitude, double longitude, double elevation) override
Update telescope location settings.
static void guideTimeoutHelperS(void *p)
static void guideTimeoutHelperW(void *p)
virtual bool initProperties() override
Called to initialize basic properties required all the time.
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
virtual IPState GuideEast(uint32_t ms) override
Guide east for ms milliseconds. East is defined as RA+.
static void guideTimeoutHelperN(void *p)
virtual bool Abort() override
Abort any telescope motion including tracking if possible.
void guideTimeout(PMC8_DIRECTION calldir)
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.
static void rampTimeoutHelperW(void *p)
virtual IPState GuideSouth(uint32_t ms) override
Guide south for ms milliseconds. South is defined as DEC-.
virtual bool SetTrackMode(uint8_t mode) override
SetTrackMode Set active tracking mode. Do not change track state.
struct PMC8MoveInfo PMC8MoveInfo
PMC8_RAMP_DIRECTION rampDir
Number vector property descriptor.
Switch vector property descriptor.
Text vector property descriptor.