43 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
44 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
66 bool setMinLimit(uint32_t limit);
67 bool setMaxLimit(uint32_t limit);
68 bool updateMaxLimit();
70 bool updateTemperature();
71 bool updatePosition();
72 bool updateVoltageIn();
74 void setConnectionParams();
75 bool initCommandSet();
77 bool getStartupValues();
78 void hexDump(
char * buf,
const char * data,
int size);
79 bool isMotionComplete();
81 uint16_t m_TemperatureCounter { 0 };
96 ESATTO_FIRMWARE_VERSION,
98 ARCO_FIRMWARE_VERSION,
126 typedef enum { BacklashIdle, BacklashMinimum, BacklashMaximum, BacklashComplete } BacklashStage;
127 BacklashStage bStage { BacklashIdle };
133 ROTATOR_ABSOLUTE_POSITION
137 IText RotCalibrationMessageT[1] {};
140 typedef enum { RotCalIdle, RotCalComplete } RotCalibrationStage;
141 RotCalibrationStage rcStage { RotCalIdle };
147 ARCO_CALIBRATION_START
150 std::unique_ptr<PrimalucaLabs::Esatto> m_Esatto;
151 std::unique_ptr<PrimalucaLabs::Arco> m_Arco;
153 static constexpr uint8_t TEMPERATURE_FREQUENCY {10};
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Processes incoming new switch states from the client for this device. Handles updates to FocuserInter...
virtual void TimerHit() override
Callback function to be called once SetTimer duration elapses.
const char * getDefaultName() override
virtual IPState MoveAbsFocuser(uint32_t targetTicks) override
MoveFocuser the focuser to an absolute position.
virtual bool updateProperties() override
Updates the state and definition of properties based on the current connection status....
virtual IPState MoveRelFocuser(FocusDirection dir, uint32_t ticks) override
MoveFocuser the focuser to an relative position.
virtual bool initProperties() override
Initializes the default properties for the focuser device. Sets up standard INDI properties,...
virtual bool AbortFocuser() override
AbortFocuser all focus motion.
virtual IPState MoveRotator(double angle) override
MoveRotator Go to specific angle.
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Processes incoming new number values from the client for this device. Handles updates to FocuserInter...
virtual bool saveConfigItems(FILE *fp) override
virtual bool ReverseRotator(bool enabled) override
ReverseRotator Reverse the direction of the rotator. CW is usually the normal direction,...
virtual bool SetFocuserBacklash(int32_t steps) override
SetFocuserBacklash Set the focuser backlash compensation value.
virtual bool SyncRotator(double angle) override
SyncRotator Set current angle as the supplied angle without moving the rotator.
virtual bool AbortRotator() override
AbortRotator Abort all motion.
virtual bool Handshake() override
Performs a device-specific handshake after a connection is established. This method should be overrid...
virtual ~EsattoArco() override=default
Text vector property descriptor.