Instrument Neutral Distributed Interface INDI
1.9.5
|
#include <sestosenso2.h>
Public Member Functions | |
CommandSet (int Port, const char *deviceName) | |
bool | stop () |
bool | getSerialNumber (char *res) |
bool | getFirmwareVersion (char *res) |
bool | abort () |
bool | go (uint32_t targetTicks, char *res) |
bool | goHome (char *res) |
bool | fastMoveOut (char *res) |
bool | fastMoveIn (char *res) |
bool | getMaxPosition (char *res) |
bool | getHallSensor (char *res) |
bool | storeAsMaxPosition (char *res) |
bool | goOutToFindMaxPos () |
bool | storeAsMinPosition () |
bool | initCalibration () |
bool | getAbsolutePosition (char *res) |
bool | getCurrentSpeed (char *res) |
bool | applyMotorPreset (const char *name) |
bool | applyMotorUserPreset (uint32_t index) |
bool | saveMotorUserPreset (uint32_t index, struct MotorRates &mr, struct MotorCurrents &mc) |
bool | getMotorTemp (char *res) |
bool | getExternalTemp (char *res) |
bool | getVoltageIn (char *res) |
bool | getMotorSettings (struct MotorRates &ms, struct MotorCurrents &mc, bool &motorHoldActive) |
bool | setMotorRates (struct MotorRates &ms) |
bool | setMotorCurrents (struct MotorCurrents &mc) |
bool | setMotorHold (bool hold) |
const char * | getDeviceName () const |
Public Attributes | |
int | PortFD |
std::string | deviceName |
Definition at line 26 of file sestosenso2.h.
|
inline |
Definition at line 30 of file sestosenso2.h.
bool CommandSet::abort | ( | ) |
Definition at line 1488 of file sestosenso2.cpp.
bool CommandSet::applyMotorPreset | ( | const char * | name | ) |
Definition at line 1560 of file sestosenso2.cpp.
bool CommandSet::applyMotorUserPreset | ( | uint32_t | index | ) |
Definition at line 1576 of file sestosenso2.cpp.
bool CommandSet::fastMoveIn | ( | char * | res | ) |
Definition at line 1515 of file sestosenso2.cpp.
bool CommandSet::fastMoveOut | ( | char * | res | ) |
Definition at line 1510 of file sestosenso2.cpp.
bool CommandSet::getAbsolutePosition | ( | char * | res | ) |
Definition at line 1550 of file sestosenso2.cpp.
bool CommandSet::getCurrentSpeed | ( | char * | res | ) |
Definition at line 1555 of file sestosenso2.cpp.
|
inline |
Definition at line 64 of file sestosenso2.h.
bool CommandSet::getExternalTemp | ( | char * | res | ) |
Definition at line 1652 of file sestosenso2.cpp.
bool CommandSet::getFirmwareVersion | ( | char * | res | ) |
Definition at line 1483 of file sestosenso2.cpp.
bool CommandSet::getHallSensor | ( | char * | res | ) |
Definition at line 1525 of file sestosenso2.cpp.
bool CommandSet::getMaxPosition | ( | char * | res | ) |
Definition at line 1520 of file sestosenso2.cpp.
bool CommandSet::getMotorSettings | ( | struct MotorRates & | ms, |
struct MotorCurrents & | mc, | ||
bool & | motorHoldActive | ||
) |
Definition at line 1662 of file sestosenso2.cpp.
bool CommandSet::getMotorTemp | ( | char * | res | ) |
Definition at line 1647 of file sestosenso2.cpp.
bool CommandSet::getSerialNumber | ( | char * | res | ) |
Definition at line 1478 of file sestosenso2.cpp.
bool CommandSet::getVoltageIn | ( | char * | res | ) |
Definition at line 1657 of file sestosenso2.cpp.
bool CommandSet::go | ( | uint32_t | targetTicks, |
char * | res | ||
) |
Definition at line 1493 of file sestosenso2.cpp.
bool CommandSet::goHome | ( | char * | res | ) |
Definition at line 1505 of file sestosenso2.cpp.
bool CommandSet::goOutToFindMaxPos | ( | ) |
Definition at line 1535 of file sestosenso2.cpp.
bool CommandSet::initCalibration | ( | ) |
Definition at line 1545 of file sestosenso2.cpp.
bool CommandSet::saveMotorUserPreset | ( | uint32_t | index, |
struct MotorRates & | mr, | ||
struct MotorCurrents & | mc | ||
) |
Definition at line 1627 of file sestosenso2.cpp.
bool CommandSet::setMotorCurrents | ( | struct MotorCurrents & | mc | ) |
Definition at line 1710 of file sestosenso2.cpp.
bool CommandSet::setMotorHold | ( | bool | hold | ) |
Definition at line 1719 of file sestosenso2.cpp.
bool CommandSet::setMotorRates | ( | struct MotorRates & | ms | ) |
Definition at line 1693 of file sestosenso2.cpp.
bool CommandSet::stop | ( | ) |
Definition at line 1500 of file sestosenso2.cpp.
bool CommandSet::storeAsMaxPosition | ( | char * | res | ) |
Definition at line 1530 of file sestosenso2.cpp.
bool CommandSet::storeAsMinPosition | ( | ) |
Definition at line 1540 of file sestosenso2.cpp.
std::string CommandSet::deviceName |
Definition at line 62 of file sestosenso2.h.
int CommandSet::PortFD |
Definition at line 35 of file sestosenso2.h.