#include <indirotatorinterface.h>
|
| | RotatorInterface (DefaultDevice *defaultDevice) |
| |
| void | initProperties (const char *groupName) |
| | Initialize Rotator properties. It is recommended to call this function within initProperties() of your primary device.
|
| |
| bool | updateProperties () |
| | updateProperties Define or Delete Rotator properties based on the connection status of the base device
|
| |
| bool | processNumber (const char *dev, const char *name, double values[], char *names[], int n) |
| | Process Rotator number properties.
|
| |
| bool | processSwitch (const char *dev, const char *name, ISState *states, char *names[], int n) |
| | Process Rotator switch properties.
|
| |
| virtual IPState | MoveRotator (double angle)=0 |
| | MoveRotator Go to specific angle.
|
| |
| virtual bool | SyncRotator (double angle) |
| | SyncRotator Set current angle as the supplied angle without moving the rotator.
|
| |
| virtual IPState | HomeRotator () |
| | HomeRotator Go to home position.
|
| |
| virtual bool | ReverseRotator (bool enabled) |
| | ReverseRotator Reverse the direction of the rotator. CW is usually the normal direction, and CCW is the reversed direction.
|
| |
| virtual bool | AbortRotator () |
| | AbortRotator Abort all motion.
|
| |
| virtual bool | SetRotatorBacklash (int32_t steps) |
| | SetRotatorBacklash Set the Rotatorer backlash compensation value.
|
| |
| virtual bool | SetRotatorBacklashEnabled (bool enabled) |
| | SetRotatorBacklashEnabled Enables or disables the Rotator backlash compensation.
|
| |
| bool | saveConfigItems (FILE *fp) |
| | saveConfigItems save focuser properties defined in the interface in config file
|
| |
Definition at line 47 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 55 of file indirotatorinterface.h.
◆ RotatorInterface()
| RotatorInterface::RotatorInterface |
( |
DefaultDevice * |
defaultDevice | ) |
|
|
explicitprotected |
◆ AbortRotator()
| bool RotatorInterface::AbortRotator |
( |
| ) |
|
|
protectedvirtual |
AbortRotator Abort all motion.
- Returns
- True if successful, false otherwise.
Reimplemented in EsattoArco, Camelot, DeepSkyDadFR1, iAFSRotator, Integra, nFrameRotator, NightCrawler, PegasusFalcon, PegasusFalconV2, PlaneWaveRotator, RotatorSimulator, WandererRotatorBase, and LX200_OnStep.
Definition at line 355 of file indirotatorinterface.cpp.
◆ 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 EsattoArco, DeepSkyDadFR1, Gemini, iAFSRotator, Integra, nFrameRotator, NightCrawler, PegasusFalcon, PegasusFalconV2, PlaneWaveRotator, Pyxis, RotatorSimulator, WandererRotatorBase, LX200_OnStep, and Camelot.
◆ 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 EsattoArco, Camelot, DeepSkyDadFR1, Gemini, iAFSRotator, Integra, NightCrawler, PegasusFalcon, PegasusFalconV2, PlaneWaveRotator, Pyxis, RotatorSimulator, and WandererRotatorBase.
Definition at line 361 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 384 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 76 of file indirotatorinterface.h.
◆ SetRotatorBacklash()
| bool RotatorInterface::SetRotatorBacklash |
( |
int32_t |
steps | ) |
|
|
protectedvirtual |
SetRotatorBacklash Set the Rotatorer backlash compensation value.
- Parameters
-
| steps | value in absolute steps to compensate |
- Returns
- True if successful, false otherwise.
Reimplemented in Gemini, and LX200_OnStep.
Definition at line 368 of file indirotatorinterface.cpp.
◆ SetRotatorBacklashEnabled()
| bool RotatorInterface::SetRotatorBacklashEnabled |
( |
bool |
enabled | ) |
|
|
protectedvirtual |
SetRotatorBacklashEnabled Enables or disables the Rotator backlash compensation.
- Parameters
-
| enable | flag to enable or disable backlash compensation |
- Returns
- True if successful, false otherwise.
Reimplemented in Gemini, and LX200_OnStep.
Definition at line 375 of file indirotatorinterface.cpp.
◆ SyncRotator()
| bool RotatorInterface::SyncRotator |
( |
double |
angle | ) |
|
|
protectedvirtual |
SyncRotator Set current angle as the supplied angle without moving the rotator.
- Parameters
-
- Returns
- True if successful, false otherwise.
Reimplemented in EsattoArco, DeepSkyDadFR1, iAFSRotator, Integra, nFrameRotator, NightCrawler, PegasusFalcon, PegasusFalconV2, RotatorSimulator, and Camelot.
Definition at line 342 of file indirotatorinterface.cpp.
◆ 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 298 of file indirotatorinterface.cpp.
◆ AbortRotatorSP
◆ GotoRotatorNP
◆ HomeRotatorSP
◆ m_defaultDevice
| DefaultDevice* INDI::RotatorInterface::m_defaultDevice { nullptr } |
|
protected |
◆ m_RotatorOffset
| double INDI::RotatorInterface::m_RotatorOffset {-1} |
|
protected |
◆ ReverseRotatorSP
◆ RotatorBacklashNP
◆ RotatorBacklashSP
◆ []
| enum { ... } INDI::RotatorInterface::RotatorCapability |
◆ rotatorCapability
| uint32_t INDI::RotatorInterface::rotatorCapability = 0 |
|
protected |
◆ RotatorLimitsNP
◆ SyncRotatorNP
The documentation for this class was generated from the following files: