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