30 virtual ~AAF2()
override =
default;
77 bool sendCommand(
const char *
cmd,
char * res =
nullptr);
80 bool readTemperature();
91 double targetPos { 0 }, lastPos { 0 }, lastTemperature { 0 };
94 static const uint8_t DRIVER_RES { 32 };
96 static const char DRIVER_DEL {
'#' };
98 static const uint8_t DRIVER_TIMEOUT { 3 };
virtual bool AbortFocuser() override
AbortFocuser all focus motion.
virtual ~AAF2() override=default
virtual IPState MoveRelFocuser(FocusDirection dir, uint32_t ticks) override
MoveRelFocuser Move focuser for a relative amount of ticks in a specific direction.
virtual bool SyncFocuser(uint32_t ticks) override
SyncFocuser Set the supplied position as the current focuser position.
virtual void TimerHit() override
Callback function to be called once SetTimer duration elapses.
virtual bool initProperties() override
Initializes the default properties for the focuser device. Sets up standard INDI properties,...
virtual bool updateProperties() override
Updates the state and definition of properties based on the current connection status....
virtual bool Handshake() override
Handshake Try to communicate with Focuser and see if there is a valid response.
virtual IPState MoveAbsFocuser(uint32_t targetTicks) override
MoveAbsFocuser Move to an absolute target position.
const char * getDefaultName() override