35 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
36 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
45 virtual bool Connect()
override;
56 void GetFocusParams();
57 bool updateStepMode();
58 bool updateStepDelay();
59 bool updateTemperature();
60 bool updatePosition();
64 bool gotoAbsPosition(uint32_t position);
66 bool setStepDelay(uint8_t delay);
67 bool setTemperatureCalibration(
double calibration);
68 bool setTemperatureCoefficient(
double coefficient);
69 bool setTemperatureCompensation(
bool enable);
71 double targetPos { 0 };
73 double lastTemperature { 0 };
87 ISwitch TemperatureCompensateS[2];
91 static constexpr const uint8_t DRO_CMD = 16;
92 static constexpr const char *SETTINGS_TAB =
"Settings";
virtual bool AbortFocuser() override
AbortFocuser all focus motion.
virtual void TimerHit() override
Callback function to be called once SetTimer duration elapses.
virtual bool saveConfigItems(FILE *fp) override
const char * getDefaultName() override
virtual bool Connect() override
Connect to the device. INDI::DefaultDevice implementation connects to appropriate connection interfac...
virtual bool Disconnect() override
Disconnect from device.
virtual bool initProperties() override
Initializes the default properties for the focuser device. Sets up standard INDI properties,...
virtual bool Handshake() override
Performs a device-specific handshake after a connection is established. This method should be overrid...
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 IPState MoveRelFocuser(FocusDirection dir, uint32_t ticks) override
MoveFocuser the focuser to an relative position.
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 IPState MoveAbsFocuser(uint32_t targetTicks) override
MoveFocuser the focuser to an absolute position.
virtual bool SyncFocuser(uint32_t ticks) override
SyncFocuser Set current position to ticks without moving the focuser.
virtual bool updateProperties() override
Updates the state and definition of properties based on the current connection status....
Number vector property descriptor.
Switch vector property descriptor.