#include <indirotatorinterface.h>
Definition at line 45 of file indirotatorinterface.h.
◆ anonymous enum
Enumerator |
---|
ROTATOR_CAN_ABORT | Can the Rotator abort motion once started?
|
ROTATOR_CAN_HOME | Can the Rotator go to home position?
|
ROTATOR_CAN_SYNC | Can the Rotator sync to specific tick?
|
ROTATOR_CAN_REVERSE | Can the Rotator reverse direction?
|
ROTATOR_HAS_BACKLASH | Can the Rotatorer compensate for backlash?
|
Definition at line 53 of file indirotatorinterface.h.
◆ RotatorInterface()
RotatorInterface::RotatorInterface |
( |
DefaultDevice * |
defaultDevice | ) |
|
|
explicitprotected |
◆ AbortRotator()
bool RotatorInterface::AbortRotator |
( |
| ) |
|
|
protectedvirtual |
◆ CanAbort()
bool INDI::RotatorInterface::CanAbort |
( |
| ) |
|
|
inline |
◆ CanHome()
bool INDI::RotatorInterface::CanHome |
( |
| ) |
|
|
inline |
◆ CanReverse()
bool INDI::RotatorInterface::CanReverse |
( |
| ) |
|
|
inline |
◆ CanSync()
bool INDI::RotatorInterface::CanSync |
( |
| ) |
|
|
inline |
◆ GetCapability()
uint32_t INDI::RotatorInterface::GetCapability |
( |
| ) |
const |
|
inline |
◆ HasBacklash()
bool INDI::RotatorInterface::HasBacklash |
( |
| ) |
|
|
inline |
◆ HomeRotator()
IPState RotatorInterface::HomeRotator |
( |
| ) |
|
|
protectedvirtual |
◆ initProperties()
void RotatorInterface::initProperties |
( |
const char * |
groupName | ) |
|
|
protected |
◆ MoveRotator()
virtual IPState INDI::RotatorInterface::MoveRotator |
( |
double |
angle | ) |
|
|
protectedpure virtual |
MoveRotator Go to specific angle.
- Parameters
-
angle | Target angle in degrees. |
- Returns
- State of operation: IPS_OK is motion is completed, IPS_BUSY if motion in progress, IPS_ALERT on error.
Implemented in LX200_OnStep, WandererRotatorLite, RotatorSimulator, Pyxis, PegasusFalcon, NightCrawler, nFrameRotator, Integra, Gemini, DeepSkyDadFR1, and EsattoArco.
◆ processNumber()
bool RotatorInterface::processNumber |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
double |
values[], |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
protected |
◆ processSwitch()
bool RotatorInterface::processSwitch |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
ISState * |
states, |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
protected |
◆ ReverseRotator()
bool RotatorInterface::ReverseRotator |
( |
bool |
enabled | ) |
|
|
protectedvirtual |
ReverseRotator Reverse the direction of the rotator. CW is usually the normal direction, and CCW is the reversed direction.
- Parameters
-
enable | if True, reverse direction. If false, revert to normal direction. |
- Returns
- True if successful, false otherwise.
Reimplemented in WandererRotatorLite, RotatorSimulator, Pyxis, PegasusFalcon, NightCrawler, Integra, Gemini, DeepSkyDadFR1, and EsattoArco.
Definition at line 309 of file indirotatorinterface.cpp.
◆ saveConfigItems()
bool RotatorInterface::saveConfigItems |
( |
FILE * |
fp | ) |
|
|
protected |
saveConfigItems save focuser properties defined in the interface in config file
- Parameters
-
- Returns
- Always return true
Definition at line 332 of file indirotatorinterface.cpp.
◆ SetCapability()
void INDI::RotatorInterface::SetCapability |
( |
uint32_t |
cap | ) |
|
|
inline |
SetRotatorCapability sets the Rotator capabilities. All capabilities must be initialized.
- Parameters
-
cap | pointer to Rotator capability struct. |
Definition at line 74 of file indirotatorinterface.h.
◆ SetRotatorBacklash()
bool RotatorInterface::SetRotatorBacklash |
( |
int32_t |
steps | ) |
|
|
protectedvirtual |
◆ SetRotatorBacklashEnabled()
bool RotatorInterface::SetRotatorBacklashEnabled |
( |
bool |
enabled | ) |
|
|
protectedvirtual |
◆ SyncRotator()
bool RotatorInterface::SyncRotator |
( |
double |
angle | ) |
|
|
protectedvirtual |
◆ updateProperties()
bool RotatorInterface::updateProperties |
( |
| ) |
|
|
protected |
updateProperties Define or Delete Rotator properties based on the connection status of the base device
- Returns
- True if successful, false otherwise.
Definition at line 248 of file indirotatorinterface.cpp.
◆ AbortRotatorS
ISwitch INDI::RotatorInterface::AbortRotatorS[1] |
|
protected |
◆ AbortRotatorSP
◆ GotoRotatorN
INumber INDI::RotatorInterface::GotoRotatorN[1] |
|
protected |
◆ GotoRotatorNP
◆ HomeRotatorS
ISwitch INDI::RotatorInterface::HomeRotatorS[1] |
|
protected |
◆ HomeRotatorSP
◆ m_defaultDevice
DefaultDevice* INDI::RotatorInterface::m_defaultDevice { nullptr } |
|
protected |
◆ ReverseRotatorS
ISwitch INDI::RotatorInterface::ReverseRotatorS[2] |
|
protected |
◆ ReverseRotatorSP
◆ RotatorBacklashN
INumber INDI::RotatorInterface::RotatorBacklashN[1] |
|
protected |
◆ RotatorBacklashNP
◆ RotatorBacklashS
ISwitch INDI::RotatorInterface::RotatorBacklashS[2] |
|
protected |
◆ RotatorBacklashSP
enum { ... } INDI::RotatorInterface::RotatorCapability |
◆ rotatorCapability
uint32_t INDI::RotatorInterface::rotatorCapability = 0 |
|
protected |
◆ SyncRotatorN
INumber INDI::RotatorInterface::SyncRotatorN[1] |
|
protected |
◆ SyncRotatorNP
The documentation for this class was generated from the following files: