Instrument Neutral Distributed Interface INDI
2.0.2
|
#include <primalucacommandset.h>
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< Communication > | m_Communication |
Definition at line 130 of file primalucacommandset.h.
Focuser::Focuser | ( | const std::string & | name, |
int | port | ||
) |
Definition at line 244 of file primalucacommandset.cpp.
bool Focuser::fastMoveIn | ( | ) |
Definition at line 276 of file primalucacommandset.cpp.
bool Focuser::fastMoveOut | ( | ) |
Definition at line 268 of file primalucacommandset.cpp.
bool Focuser::getAbsolutePosition | ( | uint32_t & | position | ) |
Definition at line 306 of file primalucacommandset.cpp.
bool Focuser::getBacklash | ( | uint32_t & | steps | ) |
Definition at line 397 of file primalucacommandset.cpp.
bool Focuser::getCurrentSpeed | ( | uint32_t & | speed | ) |
Definition at line 314 of file primalucacommandset.cpp.
bool Focuser::getExternalTemp | ( | double & | value | ) |
Definition at line 351 of file primalucacommandset.cpp.
bool Focuser::getFirmwareVersion | ( | std::string & | response | ) |
Definition at line 375 of file primalucacommandset.cpp.
bool Focuser::getMaxPosition | ( | uint32_t & | position | ) |
Definition at line 284 of file primalucacommandset.cpp.
bool Focuser::getMotorTemp | ( | double & | value | ) |
Definition at line 343 of file primalucacommandset.cpp.
bool Focuser::getSerialNumber | ( | std::string & | response | ) |
Definition at line 359 of file primalucacommandset.cpp.
bool Focuser::getStatus | ( | json & | status | ) |
Definition at line 322 of file primalucacommandset.cpp.
bool Focuser::getVoltage12v | ( | double & | value | ) |
Definition at line 367 of file primalucacommandset.cpp.
bool Focuser::goAbsolutePosition | ( | uint32_t | position | ) |
Definition at line 252 of file primalucacommandset.cpp.
bool Focuser::isBusy | ( | ) |
Definition at line 330 of file primalucacommandset.cpp.
bool Focuser::isHallSensorDetected | ( | bool & | isDetected | ) |
Definition at line 292 of file primalucacommandset.cpp.
bool Focuser::setBacklash | ( | uint32_t | steps | ) |
Definition at line 389 of file primalucacommandset.cpp.
bool Focuser::stop | ( | ) |
Definition at line 260 of file primalucacommandset.cpp.
|
protected |
Definition at line 163 of file primalucacommandset.h.