Instrument Neutral Distributed Interface INDI
2.0.2
|
The Axis class Implements a generic Axis which can be used for equatorial or AltAz mounts for both axes. More...
#include <scopesim_helper.h>
Public Types | |
enum | AXIS_TRACK_RATE { OFF , SIDEREAL , SOLAR , LUNAR } |
The AXIS_TRACK_RATE enum defines the common track rates. More... | |
Public Member Functions | |
Axis (const char *name) | |
void | setDegrees (double degrees) |
void | setHours (double hours) |
void | StartSlew (Angle angle) |
void | Abort () |
bool | isTracking () |
void | Tracking (bool enabled) |
void | TrackRate (AXIS_TRACK_RATE rate) |
TrackRate set the track rate to one of the standard rates. More... | |
AXIS_TRACK_RATE | TrackRate () |
TrackRate returns the AXIS_TRACK_RATE property. More... | |
void | StartGuide (double rate, uint32_t durationMs) |
StartGuide start guiding. More... | |
bool | IsGuiding () |
void | update () |
const char * | getDeviceName () |
Public Attributes | |
const char * | axisName |
Angle | position |
bool | isSlewing |
Angle | TrackingRateDegSec |
TrackingRateDegSec. More... | |
int | mcRate |
The Axis class Implements a generic Axis which can be used for equatorial or AltAz mounts for both axes.
For an equatorial mount use the TrackRate to set the standard tracking rates. for the primary axis only. For an AltAz mount the TrackingRateDegSec rate must be set for both axes.
Definition at line 261 of file scopesim_helper.h.
The AXIS_TRACK_RATE enum defines the common track rates.
Enumerator | |
---|---|
OFF | |
SIDEREAL | |
SOLAR | |
LUNAR |
Definition at line 267 of file scopesim_helper.h.
|
inline |
Definition at line 269 of file scopesim_helper.h.
|
inline |
Definition at line 284 of file scopesim_helper.h.
|
inline |
Definition at line 336 of file scopesim_helper.h.
|
inline |
Definition at line 326 of file scopesim_helper.h.
|
inline |
Definition at line 293 of file scopesim_helper.h.
void Axis::setDegrees | ( | double | degrees | ) |
Definition at line 67 of file scopesim_helper.cpp.
void Axis::setHours | ( | double | hours | ) |
Definition at line 73 of file scopesim_helper.cpp.
void Axis::StartGuide | ( | double | rate, |
uint32_t | durationMs | ||
) |
StartGuide start guiding.
rate | as a fraction of the sidereal rate, signed |
durationMs |
Definition at line 118 of file scopesim_helper.cpp.
void Axis::StartSlew | ( | Angle | angle | ) |
Definition at line 79 of file scopesim_helper.cpp.
void Axis::Tracking | ( | bool | enabled | ) |
Definition at line 86 of file scopesim_helper.cpp.
Axis::AXIS_TRACK_RATE Axis::TrackRate | ( | ) |
TrackRate returns the AXIS_TRACK_RATE property.
Definition at line 113 of file scopesim_helper.cpp.
void Axis::TrackRate | ( | AXIS_TRACK_RATE | rate | ) |
TrackRate set the track rate to one of the standard rates.
rate | as AXIS_TRACK_RATE |
use this for the primary axis on an equatorial mount
Definition at line 92 of file scopesim_helper.cpp.
void Axis::update | ( | ) |
Definition at line 127 of file scopesim_helper.cpp.
const char* Axis::axisName |
Definition at line 274 of file scopesim_helper.h.
bool Axis::isSlewing |
Definition at line 291 of file scopesim_helper.h.
int Axis::mcRate |
Definition at line 331 of file scopesim_helper.h.
Angle Axis::position |
Definition at line 280 of file scopesim_helper.h.
Angle Axis::TrackingRateDegSec |
TrackingRateDegSec.
Definition at line 317 of file scopesim_helper.h.