Instrument Neutral Distributed Interface INDI  2.0.2
Public Member Functions | Protected Attributes | List of all members
PrimalucaLabs::Focuser Class Reference

#include <primalucacommandset.h>

Inheritance diagram for PrimalucaLabs::Focuser:
PrimalucaLabs::Esatto PrimalucaLabs::SestoSenso2

Public Member Functions

 Focuser (const std::string &name, int port)
 
bool getMaxPosition (uint32_t &position)
 
bool isHallSensorDetected (bool &isDetected)
 
bool getAbsolutePosition (uint32_t &position)
 
bool getStatus (json &status)
 
bool goAbsolutePosition (uint32_t position)
 
bool stop ()
 
bool fastMoveOut ()
 
bool fastMoveIn ()
 
bool getCurrentSpeed (uint32_t &speed)
 
bool isBusy ()
 
bool getSerialNumber (std::string &response)
 
bool getFirmwareVersion (std::string &response)
 
bool setBacklash (uint32_t steps)
 
bool getBacklash (uint32_t &steps)
 
bool getMotorTemp (double &value)
 
bool getExternalTemp (double &value)
 
bool getVoltage12v (double &value)
 

Protected Attributes

std::unique_ptr< Communicationm_Communication
 

Detailed Description

Definition at line 130 of file primalucacommandset.h.

Constructor & Destructor Documentation

◆ Focuser()

Focuser::Focuser ( const std::string &  name,
int  port 
)

Definition at line 244 of file primalucacommandset.cpp.

Member Function Documentation

◆ fastMoveIn()

bool Focuser::fastMoveIn ( )

Definition at line 276 of file primalucacommandset.cpp.

◆ fastMoveOut()

bool Focuser::fastMoveOut ( )

Definition at line 268 of file primalucacommandset.cpp.

◆ getAbsolutePosition()

bool Focuser::getAbsolutePosition ( uint32_t &  position)

Definition at line 306 of file primalucacommandset.cpp.

◆ getBacklash()

bool Focuser::getBacklash ( uint32_t &  steps)

Definition at line 397 of file primalucacommandset.cpp.

◆ getCurrentSpeed()

bool Focuser::getCurrentSpeed ( uint32_t &  speed)

Definition at line 314 of file primalucacommandset.cpp.

◆ getExternalTemp()

bool Focuser::getExternalTemp ( double &  value)

Definition at line 351 of file primalucacommandset.cpp.

◆ getFirmwareVersion()

bool Focuser::getFirmwareVersion ( std::string &  response)

Definition at line 375 of file primalucacommandset.cpp.

◆ getMaxPosition()

bool Focuser::getMaxPosition ( uint32_t &  position)

Definition at line 284 of file primalucacommandset.cpp.

◆ getMotorTemp()

bool Focuser::getMotorTemp ( double &  value)

Definition at line 343 of file primalucacommandset.cpp.

◆ getSerialNumber()

bool Focuser::getSerialNumber ( std::string &  response)

Definition at line 359 of file primalucacommandset.cpp.

◆ getStatus()

bool Focuser::getStatus ( json status)

Definition at line 322 of file primalucacommandset.cpp.

◆ getVoltage12v()

bool Focuser::getVoltage12v ( double &  value)

Definition at line 367 of file primalucacommandset.cpp.

◆ goAbsolutePosition()

bool Focuser::goAbsolutePosition ( uint32_t  position)

Definition at line 252 of file primalucacommandset.cpp.

◆ isBusy()

bool Focuser::isBusy ( )

Definition at line 330 of file primalucacommandset.cpp.

◆ isHallSensorDetected()

bool Focuser::isHallSensorDetected ( bool &  isDetected)

Definition at line 292 of file primalucacommandset.cpp.

◆ setBacklash()

bool Focuser::setBacklash ( uint32_t  steps)

Definition at line 389 of file primalucacommandset.cpp.

◆ stop()

bool Focuser::stop ( )

Definition at line 260 of file primalucacommandset.cpp.

Member Data Documentation

◆ m_Communication

std::unique_ptr<Communication> PrimalucaLabs::Focuser::m_Communication
protected

Definition at line 163 of file primalucacommandset.h.


The documentation for this class was generated from the following files: