Instrument Neutral Distributed Interface INDI 2.2.5
PrimalucaLabs::SestoSenso2 Class Reference

#include <primalucacommandset.h>

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

Public Member Functions

 SestoSenso2 (const std::string &name, int port)
const char * getDeviceName ()
bool applyMotorPreset (const std::string &name)
bool setMotorUserPreset (uint32_t index, const MotorRates &rates, const MotorCurrents &currents)
bool getMotorSettings (struct MotorRates &rates, struct MotorCurrents &currents, bool &motorHoldActive)
bool setMotorRates (const MotorRates &rates)
bool setMotorCurrents (const MotorCurrents &currents)
bool setMotorHold (bool hold)
bool initCalibration ()
bool goOutToFindMaxPos ()
bool storeAsMaxPosition ()
bool storeAsMinPosition ()
bool getModel (std::string &model)
Public Member Functions inherited from PrimalucaLabs::Focuser
 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)

Additional Inherited Members

Protected Attributes inherited from PrimalucaLabs::Focuser
std::unique_ptr< Communication > m_Communication

Detailed Description

Definition at line 177 of file primalucacommandset.h.

Constructor & Destructor Documentation

◆ SestoSenso2()

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

Definition at line 432 of file primalucacommandset.cpp.

Member Function Documentation

◆ applyMotorPreset()

bool SestoSenso2::applyMotorPreset ( const std::string & name)

Definition at line 467 of file primalucacommandset.cpp.

◆ getDeviceName()

const char * PrimalucaLabs::SestoSenso2::getDeviceName ( )
inline

Definition at line 182 of file primalucacommandset.h.

◆ getModel()

bool SestoSenso2::getModel ( std::string & model)

Definition at line 436 of file primalucacommandset.cpp.

◆ getMotorSettings()

bool SestoSenso2::getMotorSettings ( struct MotorRates & rates,
struct MotorCurrents & currents,
bool & motorHoldActive )

Definition at line 496 of file primalucacommandset.cpp.

◆ goOutToFindMaxPos()

bool SestoSenso2::goOutToFindMaxPos ( )

Definition at line 449 of file primalucacommandset.cpp.

◆ initCalibration()

bool SestoSenso2::initCalibration ( )

Definition at line 444 of file primalucacommandset.cpp.

◆ setMotorCurrents()

bool SestoSenso2::setMotorCurrents ( const MotorCurrents & currents)

Definition at line 547 of file primalucacommandset.cpp.

◆ setMotorHold()

bool SestoSenso2::setMotorHold ( bool hold)

Definition at line 563 of file primalucacommandset.cpp.

◆ setMotorRates()

bool SestoSenso2::setMotorRates ( const MotorRates & rates)

Definition at line 532 of file primalucacommandset.cpp.

◆ setMotorUserPreset()

bool SestoSenso2::setMotorUserPreset ( uint32_t index,
const MotorRates & rates,
const MotorCurrents & currents )

Definition at line 475 of file primalucacommandset.cpp.

◆ storeAsMaxPosition()

bool SestoSenso2::storeAsMaxPosition ( )

Definition at line 454 of file primalucacommandset.cpp.

◆ storeAsMinPosition()

bool SestoSenso2::storeAsMinPosition ( )

Definition at line 459 of file primalucacommandset.cpp.


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