Instrument Neutral Distributed Interface INDI 2.2.5
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 PrimalucaLabs::SestoSenso3

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 getModel (std::string &model)
 
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< Communication > m_Communication
 

Detailed Description

Definition at line 136 of file primalucacommandset.h.

Constructor & Destructor Documentation

◆ Focuser()

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

Definition at line 250 of file primalucacommandset.cpp.

Member Function Documentation

◆ fastMoveIn()

bool Focuser::fastMoveIn ( )

Definition at line 282 of file primalucacommandset.cpp.

◆ fastMoveOut()

bool Focuser::fastMoveOut ( )

Definition at line 274 of file primalucacommandset.cpp.

◆ getAbsolutePosition()

bool Focuser::getAbsolutePosition ( uint32_t &  position)

Definition at line 312 of file primalucacommandset.cpp.

◆ getBacklash()

bool Focuser::getBacklash ( uint32_t &  steps)

Definition at line 423 of file primalucacommandset.cpp.

◆ getCurrentSpeed()

bool Focuser::getCurrentSpeed ( uint32_t &  speed)

Definition at line 340 of file primalucacommandset.cpp.

◆ getExternalTemp()

bool Focuser::getExternalTemp ( double &  value)

Definition at line 377 of file primalucacommandset.cpp.

◆ getFirmwareVersion()

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

Definition at line 401 of file primalucacommandset.cpp.

◆ getMaxPosition()

bool Focuser::getMaxPosition ( uint32_t &  position)

Definition at line 290 of file primalucacommandset.cpp.

◆ getModel()

bool PrimalucaLabs::Focuser::getModel ( std::string &  model)

◆ getMotorTemp()

bool Focuser::getMotorTemp ( double &  value)

Definition at line 369 of file primalucacommandset.cpp.

◆ getSerialNumber()

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

Definition at line 385 of file primalucacommandset.cpp.

◆ getStatus()

bool Focuser::getStatus ( json &  status)

Definition at line 348 of file primalucacommandset.cpp.

◆ getVoltage12v()

bool Focuser::getVoltage12v ( double &  value)

Definition at line 393 of file primalucacommandset.cpp.

◆ goAbsolutePosition()

bool Focuser::goAbsolutePosition ( uint32_t  position)

Definition at line 258 of file primalucacommandset.cpp.

◆ isBusy()

bool Focuser::isBusy ( )

Definition at line 356 of file primalucacommandset.cpp.

◆ isHallSensorDetected()

bool Focuser::isHallSensorDetected ( bool &  isDetected)

Definition at line 298 of file primalucacommandset.cpp.

◆ setBacklash()

bool Focuser::setBacklash ( uint32_t  steps)

Definition at line 415 of file primalucacommandset.cpp.

◆ stop()

bool Focuser::stop ( )

Definition at line 266 of file primalucacommandset.cpp.

Member Data Documentation

◆ m_Communication

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

Definition at line 170 of file primalucacommandset.h.


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