40 virtual bool Abort()
override;
43 virtual bool Goto(
double ra,
double dec)
override;
46 virtual bool ISNewBLOB(
const char *dev,
const char *name,
int sizes[],
int blobsizes[],
char *blobs[],
47 char *formats[],
char *names[],
int n)
override;
48 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
49 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
50 virtual bool ISNewText(
const char *dev,
const char *name,
char *texts[],
char *names[],
int n)
override;
55 virtual bool Park()
override;
56 virtual bool UnPark()
override;
59 virtual bool Sync(
double ra,
double dec)
override;
68 void ResetGuidePulses();
69 void UpdateScopeConfigSwitch();
70 int recover_tty_reconnect();
71 void UpdateDetailedMountInformation(
bool InformClient);
74 void LogMessage(
const char* format, ...);
78 static constexpr
const char *DetailedMountInfoPage {
"Detailed Mount Information" };
81 MOTOR_CONTROL_FIRMWARE_VERSION,
86 IText BasicMountInfoT[4] {};
91 MICROSTEPS_PER_REVOLUTION,
92 STEPPER_CLOCK_FREQUENCY,
94 MICROSTEPS_PER_WORM_REVOLUTION
116 MICROSTEPS_PER_ARCSEC,
120 INumber AxisOneEncoderValuesN[4];
122 INumber AxisTwoEncoderValuesN[4];
162 ISwitch ParkMovementDirectionS[2];
175 long OldTrackingTarget[2] { 0, 0 };
177 bool ResetTrackingSeconds {
false };
178 int TrackingMsecs { 0 };
179 int TrackingStartTimer { 0 };
180 double GuideDeltaAlt { 0 };
181 double GuideDeltaAz { 0 };
182 int TimeoutDuration { 500 };
183 const std::string TrackLogFileName;
184 int UpdateCount { 0 };
187 std::string SerialPortName;
189 bool RecoverAfterReconnection {
false };
190 bool VerboseScopeStatus {
false };
192 std::vector<GuidingPulse> GuidingPulses;
194 bool moving {
false };
virtual bool saveConfigItems(FILE *fp) override
saveConfigItems Save specific properties in the provide config file handler. Child class usually over...
virtual const char * getDefaultName() override
virtual bool Abort() override
Abort any telescope motion including tracking if possible.
virtual IPState GuideSouth(uint32_t ms) override
Guide south for ms milliseconds. South is defined as DEC-.
virtual IPState GuideEast(uint32_t ms) override
Guide east for ms milliseconds. East is defined as RA+.
virtual bool initProperties() override
Called to initialize basic properties required all the time.
virtual bool updateProperties() override
Called when connected state changes, to add/remove properties.
virtual bool MoveWE(INDI_DIR_WE dir, TelescopeMotionCommand command) override
Move the telescope in the direction dir.
virtual bool ISNewBLOB(const char *dev, const char *name, int sizes[], int blobsizes[], char *blobs[], char *formats[], char *names[], int n) override
Process the client newBLOB command.
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 ~SkywatcherAltAzSimple()=default
virtual IPState GuideWest(uint32_t ms) override
Guide west for ms milliseconds. West is defined as RA-.
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 Goto(double ra, double dec) override
Move the scope to the supplied RA and DEC coordinates.
virtual bool Handshake() override
perform handshake with device to check communication
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 IPState GuideNorth(uint32_t ms) override
Guide north for ms milliseconds. North is defined as DEC+.
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 MoveNS(INDI_DIR_NS dir, TelescopeMotionCommand command) override
Start or Stop the telescope motion in the direction dir.
virtual void TimerHit() override
Called when setTimer() time is up.
virtual bool ISNewText(const char *dev, const char *name, char *texts[], char *names[], int n) override
Process the client newSwitch command.
double GetParkDeltaAz(ParkDirection_t target_direction, ParkPosition_t target_position)
Number vector property descriptor.
Switch vector property descriptor.
Text vector property descriptor.