TwiceAsNice  2019-02-18
Classes | Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
Skywatcher Class Reference

#include <skywatcher.h>

Collaboration diagram for Skywatcher:
Collaboration graph

Classes

struct  SkywatcherAxisStatus
 
struct  SkyWatcherFeatures
 

Public Member Functions

 Skywatcher (EQMod *t)
 
 ~Skywatcher ()
 
bool Handshake ()
 
bool Disconnect ()
 
void setDebug (bool enable)
 
const char * getDeviceName ()
 
bool HasHomeIndexers ()
 
bool HasAuxEncoders ()
 
bool HasPPEC ()
 
unsigned long GetRAEncoder ()
 
unsigned long GetDEEncoder ()
 
unsigned long GetRAEncoderZero ()
 
unsigned long GetRAEncoderTotal ()
 
unsigned long GetRAEncoderHome ()
 
unsigned long GetDEEncoderZero ()
 
unsigned long GetDEEncoderTotal ()
 
unsigned long GetDEEncoderHome ()
 
unsigned long GetRAPeriod ()
 
unsigned long GetDEPeriod ()
 
void GetRAMotorStatus (ILightVectorProperty *motorLP)
 
void GetDEMotorStatus (ILightVectorProperty *motorLP)
 
void InquireBoardVersion (ITextVectorProperty *boardTP)
 
void InquireFeatures ()
 
void InquireRAEncoderInfo (INumberVectorProperty *encoderNP)
 
void InquireDEEncoderInfo (INumberVectorProperty *encoderNP)
 
void Init ()
 
void SlewRA (double rate)
 
void SlewDE (double rate)
 
void StopRA ()
 
void StopDE ()
 
void SetRARate (double rate)
 
void SetDERate (double rate)
 
void SlewTo (long deltaraencoder, long deltadeencoder)
 
void AbsSlewTo (unsigned long raencoder, unsigned long deencoder, bool raup, bool deup)
 
void StartRATracking (double trackspeed)
 
void StartDETracking (double trackspeed)
 
bool IsRARunning ()
 
bool IsDERunning ()
 
void ResetMotions ()
 
void setSimulation (bool)
 
bool isSimulation ()
 
void SetBacklashRA (unsigned long backlash)
 
void SetBacklashUseRA (bool usebacklash)
 
void SetBacklashDE (unsigned long backlash)
 
void SetBacklashUseDE (bool usebacklash)
 
unsigned long GetlastreadRAIndexer ()
 
unsigned long GetlastreadDEIndexer ()
 
unsigned long GetRAAuxEncoder ()
 
unsigned long GetDEAuxEncoder ()
 
void TurnRAEncoder (bool on)
 
void TurnDEEncoder (bool on)
 
void TurnRAPPECTraining (bool on)
 
void TurnDEPPECTraining (bool on)
 
void TurnRAPPEC (bool on)
 
void TurnDEPPEC (bool on)
 
void GetRAPPECStatus (bool *intraining, bool *inppec)
 
void GetDEPPECStatus (bool *intraining, bool *inppec)
 
void ResetRAIndexer ()
 
void ResetDEIndexer ()
 
void GetRAIndexer ()
 
void GetDEIndexer ()
 
void SetRAAxisPosition (unsigned long step)
 
void SetDEAxisPosition (unsigned long step)
 
void SetST4RAGuideRate (unsigned char r)
 
void SetST4DEGuideRate (unsigned char r)
 
void setPortFD (int value)
 

Public Attributes

bool simulation
 

Private Types

enum  SkywatcherCommand {
  Initialize = 'F', InquireMotorBoardVersion = 'e', InquireGridPerRevolution = 'a', InquireTimerInterruptFreq = 'b',
  InquireHighSpeedRatio = 'g', InquirePECPeriod = 's', InstantAxisStop = 'L', NotInstantAxisStop = 'K',
  SetAxisPositionCmd = 'E', GetAxisPosition = 'j', GetAxisStatus = 'f', SetSwitch = 'O',
  SetMotionMode = 'G', SetGotoTargetIncrement = 'H', SetBreakPointIncrement = 'M', SetGotoTarget = 'S',
  SetBreakStep = 'U', SetStepPeriod = 'I', StartMotion = 'J', GetStepPeriod = 'D',
  ActivateMotor = 'B', SetST4GuideRateCmd = 'P', GetHomePosition = 'd', SetFeatureCmd = 'W',
  GetFeatureCmd = 'q', InquireAuxEncoder = 'd', NUMBER_OF_SkywatcherCommand
}
 
enum  SkywatcherAxis { Axis1 = 0, Axis2 = 1, NUMBER_OF_SKYWATCHERAXIS }
 
enum  SkywatcherDirection { BACKWARD = 0, FORWARD = 1 }
 
enum  SkywatcherSlewMode { SLEW = 0, GOTO = 1 }
 
enum  SkywatcherSpeedMode { LOWSPEED = 0, HIGHSPEED = 1 }
 
enum  SkywatcherGetFeatureCmd { GET_INDEXER_CMD = 0x00, GET_FEATURES_CMD = 0x01 }
 
enum  SkywatcherSetFeatureCmd {
  START_PPEC_TRAINING_CMD = 0x00, STOP_PPEC_TRAINING_CMD = 0x01, TURN_PPEC_ON_CMD = 0x02, TURN_PPEC_OFF_CMD = 0X03,
  ENCODER_ON_CMD = 0x04, ENCODER_OFF_CMD = 0x05, DISABLE_FULL_CURRENT_LOW_SPEED_CMD = 0x0006, ENABLE_FULL_CURRENT_LOW_SPEED_CMD = 0x0106,
  RESET_HOME_INDEXER_CMD = 0x08
}
 
enum  SkywatcherError { NO_ERROR, ER_1, ER_2, ER_3 }
 
typedef struct Skywatcher::SkyWatcherFeatures SkyWatcherFeatures
 
typedef struct Skywatcher::SkywatcherAxisStatus SkywatcherAxisStatus
 

Private Member Functions

void CheckMotorStatus (SkywatcherAxis axis)
 
void ReadMotorStatus (SkywatcherAxis axis)
 
void SetMotion (SkywatcherAxis axis, SkywatcherAxisStatus newstatus)
 
void SetSpeed (SkywatcherAxis axis, unsigned long period)
 
void SetTarget (SkywatcherAxis axis, unsigned long increment)
 
void SetTargetBreaks (SkywatcherAxis axis, unsigned long increment)
 
void SetAbsTarget (SkywatcherAxis axis, unsigned long target)
 
void SetAbsTargetBreaks (SkywatcherAxis axis, unsigned long breakstep)
 
void StartMotor (SkywatcherAxis axis)
 
void StopMotor (SkywatcherAxis axis)
 
void InstantStopMotor (SkywatcherAxis axis)
 
void StopWaitMotor (SkywatcherAxis axis)
 
void SetFeature (SkywatcherAxis axis, unsigned long command)
 
void GetFeature (SkywatcherAxis axis, unsigned long command)
 
void TurnEncoder (SkywatcherAxis axis, bool on)
 
unsigned long ReadEncoder (SkywatcherAxis axis)
 
void ResetIndexer (SkywatcherAxis axis)
 
void GetIndexer (SkywatcherAxis axis)
 
void SetST4GuideRate (SkywatcherAxis axis, unsigned char r)
 
void SetAxisPosition (SkywatcherAxis axis, unsigned long step)
 
void TurnPPECTraining (SkywatcherAxis axis, bool on)
 
void TurnPPEC (SkywatcherAxis axis, bool on)
 
void GetPPECStatus (SkywatcherAxis axis, bool *intraining, bool *inppec)
 
bool read_eqmod ()
 
bool dispatch_command (SkywatcherCommand cmd, SkywatcherAxis axis, char *arg)
 
unsigned long Revu24str2long (char *)
 
unsigned long Highstr2long (char *)
 
void long2Revu24str (unsigned long, char *)
 
double get_min_rate ()
 
double get_max_rate ()
 
bool isDebug ()
 

Private Attributes

unsigned long minperiods [2]
 
char AxisCmd [2] {'1', '2'}
 
struct timeval lastreadmotorstatus [NUMBER_OF_SKYWATCHERAXIS]
 
struct timeval lastreadmotorposition [NUMBER_OF_SKYWATCHERAXIS]
 
unsigned long MCVersion
 
unsigned long MountCode
 
unsigned long RASteps360
 
unsigned long DESteps360
 
unsigned long RAStepsWorm
 
unsigned long DEStepsWorm
 
unsigned long RAHighspeedRatio
 
unsigned long DEHighspeedRatio
 
unsigned long RAStep
 
unsigned long DEStep
 
unsigned long RAStepInit
 
unsigned long DEStepInit
 
unsigned long RAStepHome
 
unsigned long DEStepHome
 
unsigned long RAPeriod
 
unsigned long DEPeriod
 
bool RAInitialized
 
bool DEInitialized
 
bool RARunning
 
bool DERunning
 
bool wasinitialized
 
SkywatcherAxisStatus RAStatus
 
SkywatcherAxisStatus DEStatus
 
SkyWatcherFeatures AxisFeatures [NUMBER_OF_SKYWATCHERAXIS]
 
int PortFD = -1
 
char command [SKYWATCHER_MAX_CMD]
 
char response [SKYWATCHER_MAX_CMD]
 
bool debug
 
bool debugnextread
 
EQModtelescope
 
bool reconnect
 
unsigned long Backlash [NUMBER_OF_SKYWATCHERAXIS]
 
bool UseBacklash [NUMBER_OF_SKYWATCHERAXIS]
 
unsigned long Target [NUMBER_OF_SKYWATCHERAXIS]
 
unsigned long TargetBreaks [NUMBER_OF_SKYWATCHERAXIS]
 
SkywatcherAxisStatus LastRunningStatus [NUMBER_OF_SKYWATCHERAXIS]
 
SkywatcherAxisStatus NewStatus [NUMBER_OF_SKYWATCHERAXIS]
 
unsigned long backlashperiod [NUMBER_OF_SKYWATCHERAXIS]
 
unsigned long lastreadIndexer [NUMBER_OF_SKYWATCHERAXIS]
 
const uint8_t EQMOD_TIMEOUT = 5
 
const uint8_t EQMOD_MAX_RETRY = 3
 

Static Private Attributes

static const char SkywatcherLeadingChar = ':'
 
static const char SkywatcherTrailingChar = 0x0d
 
static constexpr double MIN_RATE = 0.05
 
static constexpr double MAX_RATE = 800.0
 

Member Typedef Documentation

◆ SkywatcherAxisStatus

◆ SkyWatcherFeatures

Member Enumeration Documentation

◆ SkywatcherAxis

Enumerator
Axis1 
Axis2 
NUMBER_OF_SKYWATCHERAXIS 

◆ SkywatcherCommand

Enumerator
Initialize 
InquireMotorBoardVersion 
InquireGridPerRevolution 
InquireTimerInterruptFreq 
InquireHighSpeedRatio 
InquirePECPeriod 
InstantAxisStop 
NotInstantAxisStop 
SetAxisPositionCmd 
GetAxisPosition 
GetAxisStatus 
SetSwitch 
SetMotionMode 
SetGotoTargetIncrement 
SetBreakPointIncrement 
SetGotoTarget 
SetBreakStep 
SetStepPeriod 
StartMotion 
GetStepPeriod 
ActivateMotor 
SetST4GuideRateCmd 
GetHomePosition 
SetFeatureCmd 
GetFeatureCmd 
InquireAuxEncoder 
NUMBER_OF_SkywatcherCommand 

◆ SkywatcherDirection

Enumerator
BACKWARD 
FORWARD 

◆ SkywatcherError

Enumerator
NO_ERROR 
ER_1 
ER_2 
ER_3 

◆ SkywatcherGetFeatureCmd

Enumerator
GET_INDEXER_CMD 
GET_FEATURES_CMD 

◆ SkywatcherSetFeatureCmd

Enumerator
START_PPEC_TRAINING_CMD 
STOP_PPEC_TRAINING_CMD 
TURN_PPEC_ON_CMD 
TURN_PPEC_OFF_CMD 
ENCODER_ON_CMD 
ENCODER_OFF_CMD 
DISABLE_FULL_CURRENT_LOW_SPEED_CMD 
ENABLE_FULL_CURRENT_LOW_SPEED_CMD 
RESET_HOME_INDEXER_CMD 

◆ SkywatcherSlewMode

Enumerator
SLEW 
GOTO 

◆ SkywatcherSpeedMode

Enumerator
LOWSPEED 
HIGHSPEED 

Constructor & Destructor Documentation

◆ Skywatcher()

Skywatcher::Skywatcher ( EQMod t)

◆ ~Skywatcher()

Skywatcher::~Skywatcher ( void  )

Member Function Documentation

◆ AbsSlewTo()

void Skywatcher::AbsSlewTo ( unsigned long  raencoder,
unsigned long  deencoder,
bool  raup,
bool  deup 
)

◆ CheckMotorStatus()

void Skywatcher::CheckMotorStatus ( SkywatcherAxis  axis)
private

◆ Disconnect()

bool Skywatcher::Disconnect ( )

◆ dispatch_command()

bool Skywatcher::dispatch_command ( SkywatcherCommand  cmd,
SkywatcherAxis  axis,
char *  arg 
)
private

◆ get_max_rate()

double Skywatcher::get_max_rate ( )
private

◆ get_min_rate()

double Skywatcher::get_min_rate ( )
private

◆ GetDEAuxEncoder()

unsigned long Skywatcher::GetDEAuxEncoder ( )

◆ GetDEEncoder()

unsigned long Skywatcher::GetDEEncoder ( )

◆ GetDEEncoderHome()

unsigned long Skywatcher::GetDEEncoderHome ( )

◆ GetDEEncoderTotal()

unsigned long Skywatcher::GetDEEncoderTotal ( )

◆ GetDEEncoderZero()

unsigned long Skywatcher::GetDEEncoderZero ( )

◆ GetDEIndexer()

void Skywatcher::GetDEIndexer ( )

◆ GetDEMotorStatus()

void Skywatcher::GetDEMotorStatus ( ILightVectorProperty motorLP)

◆ GetDEPeriod()

unsigned long Skywatcher::GetDEPeriod ( )

◆ GetDEPPECStatus()

void Skywatcher::GetDEPPECStatus ( bool intraining,
bool inppec 
)

◆ getDeviceName()

const char * Skywatcher::getDeviceName ( )

◆ GetFeature()

void Skywatcher::GetFeature ( SkywatcherAxis  axis,
unsigned long  command 
)
private

◆ GetIndexer()

void Skywatcher::GetIndexer ( SkywatcherAxis  axis)
private

◆ GetlastreadDEIndexer()

unsigned long Skywatcher::GetlastreadDEIndexer ( )

◆ GetlastreadRAIndexer()

unsigned long Skywatcher::GetlastreadRAIndexer ( )

◆ GetPPECStatus()

void Skywatcher::GetPPECStatus ( SkywatcherAxis  axis,
bool intraining,
bool inppec 
)
private

◆ GetRAAuxEncoder()

unsigned long Skywatcher::GetRAAuxEncoder ( )

◆ GetRAEncoder()

unsigned long Skywatcher::GetRAEncoder ( )

◆ GetRAEncoderHome()

unsigned long Skywatcher::GetRAEncoderHome ( )

◆ GetRAEncoderTotal()

unsigned long Skywatcher::GetRAEncoderTotal ( )

◆ GetRAEncoderZero()

unsigned long Skywatcher::GetRAEncoderZero ( )

◆ GetRAIndexer()

void Skywatcher::GetRAIndexer ( )

◆ GetRAMotorStatus()

void Skywatcher::GetRAMotorStatus ( ILightVectorProperty motorLP)

◆ GetRAPeriod()

unsigned long Skywatcher::GetRAPeriod ( )

◆ GetRAPPECStatus()

void Skywatcher::GetRAPPECStatus ( bool intraining,
bool inppec 
)

◆ Handshake()

bool Skywatcher::Handshake ( )

◆ HasAuxEncoders()

bool Skywatcher::HasAuxEncoders ( )

◆ HasHomeIndexers()

bool Skywatcher::HasHomeIndexers ( )

◆ HasPPEC()

bool Skywatcher::HasPPEC ( )

◆ Highstr2long()

unsigned long Skywatcher::Highstr2long ( char *  s)
private

◆ Init()

void Skywatcher::Init ( )

◆ InquireBoardVersion()

void Skywatcher::InquireBoardVersion ( ITextVectorProperty boardTP)

◆ InquireDEEncoderInfo()

void Skywatcher::InquireDEEncoderInfo ( INumberVectorProperty encoderNP)

◆ InquireFeatures()

void Skywatcher::InquireFeatures ( )

◆ InquireRAEncoderInfo()

void Skywatcher::InquireRAEncoderInfo ( INumberVectorProperty encoderNP)

◆ InstantStopMotor()

void Skywatcher::InstantStopMotor ( SkywatcherAxis  axis)
private

◆ isDebug()

bool Skywatcher::isDebug ( )
private

◆ IsDERunning()

bool Skywatcher::IsDERunning ( )

◆ IsRARunning()

bool Skywatcher::IsRARunning ( )

◆ isSimulation()

bool Skywatcher::isSimulation ( )

◆ long2Revu24str()

void Skywatcher::long2Revu24str ( unsigned long  n,
char *  str 
)
private

◆ read_eqmod()

bool Skywatcher::read_eqmod ( )
private

◆ ReadEncoder()

unsigned long Skywatcher::ReadEncoder ( SkywatcherAxis  axis)
private

◆ ReadMotorStatus()

void Skywatcher::ReadMotorStatus ( SkywatcherAxis  axis)
private

◆ ResetDEIndexer()

void Skywatcher::ResetDEIndexer ( )

◆ ResetIndexer()

void Skywatcher::ResetIndexer ( SkywatcherAxis  axis)
private

◆ ResetMotions()

void Skywatcher::ResetMotions ( )

◆ ResetRAIndexer()

void Skywatcher::ResetRAIndexer ( )

◆ Revu24str2long()

unsigned long Skywatcher::Revu24str2long ( char *  s)
private

◆ SetAbsTarget()

void Skywatcher::SetAbsTarget ( SkywatcherAxis  axis,
unsigned long  target 
)
private

◆ SetAbsTargetBreaks()

void Skywatcher::SetAbsTargetBreaks ( SkywatcherAxis  axis,
unsigned long  breakstep 
)
private

◆ SetAxisPosition()

void Skywatcher::SetAxisPosition ( SkywatcherAxis  axis,
unsigned long  step 
)
private

◆ SetBacklashDE()

void Skywatcher::SetBacklashDE ( unsigned long  backlash)

◆ SetBacklashRA()

void Skywatcher::SetBacklashRA ( unsigned long  backlash)

◆ SetBacklashUseDE()

void Skywatcher::SetBacklashUseDE ( bool  usebacklash)

◆ SetBacklashUseRA()

void Skywatcher::SetBacklashUseRA ( bool  usebacklash)

◆ SetDEAxisPosition()

void Skywatcher::SetDEAxisPosition ( unsigned long  step)

◆ setDebug()

void Skywatcher::setDebug ( bool  enable)

◆ SetDERate()

void Skywatcher::SetDERate ( double  rate)

◆ SetFeature()

void Skywatcher::SetFeature ( SkywatcherAxis  axis,
unsigned long  command 
)
private

◆ SetMotion()

void Skywatcher::SetMotion ( SkywatcherAxis  axis,
SkywatcherAxisStatus  newstatus 
)
private

◆ setPortFD()

void Skywatcher::setPortFD ( int  value)

◆ SetRAAxisPosition()

void Skywatcher::SetRAAxisPosition ( unsigned long  step)

◆ SetRARate()

void Skywatcher::SetRARate ( double  rate)

◆ setSimulation()

void Skywatcher::setSimulation ( bool  enable)

◆ SetSpeed()

void Skywatcher::SetSpeed ( SkywatcherAxis  axis,
unsigned long  period 
)
private

◆ SetST4DEGuideRate()

void Skywatcher::SetST4DEGuideRate ( unsigned char  r)

◆ SetST4GuideRate()

void Skywatcher::SetST4GuideRate ( SkywatcherAxis  axis,
unsigned char  r 
)
private

◆ SetST4RAGuideRate()

void Skywatcher::SetST4RAGuideRate ( unsigned char  r)

◆ SetTarget()

void Skywatcher::SetTarget ( SkywatcherAxis  axis,
unsigned long  increment 
)
private

◆ SetTargetBreaks()

void Skywatcher::SetTargetBreaks ( SkywatcherAxis  axis,
unsigned long  increment 
)
private

◆ SlewDE()

void Skywatcher::SlewDE ( double  rate)

◆ SlewRA()

void Skywatcher::SlewRA ( double  rate)

◆ SlewTo()

void Skywatcher::SlewTo ( long  deltaraencoder,
long  deltadeencoder 
)

◆ StartDETracking()

void Skywatcher::StartDETracking ( double  trackspeed)

◆ StartMotor()

void Skywatcher::StartMotor ( SkywatcherAxis  axis)
private

◆ StartRATracking()

void Skywatcher::StartRATracking ( double  trackspeed)

◆ StopDE()

void Skywatcher::StopDE ( )

◆ StopMotor()

void Skywatcher::StopMotor ( SkywatcherAxis  axis)
private

◆ StopRA()

void Skywatcher::StopRA ( )

◆ StopWaitMotor()

void Skywatcher::StopWaitMotor ( SkywatcherAxis  axis)
private

◆ TurnDEEncoder()

void Skywatcher::TurnDEEncoder ( bool  on)

◆ TurnDEPPEC()

void Skywatcher::TurnDEPPEC ( bool  on)

◆ TurnDEPPECTraining()

void Skywatcher::TurnDEPPECTraining ( bool  on)

◆ TurnEncoder()

void Skywatcher::TurnEncoder ( SkywatcherAxis  axis,
bool  on 
)
private

◆ TurnPPEC()

void Skywatcher::TurnPPEC ( SkywatcherAxis  axis,
bool  on 
)
private

◆ TurnPPECTraining()

void Skywatcher::TurnPPECTraining ( SkywatcherAxis  axis,
bool  on 
)
private

◆ TurnRAEncoder()

void Skywatcher::TurnRAEncoder ( bool  on)

◆ TurnRAPPEC()

void Skywatcher::TurnRAPPEC ( bool  on)

◆ TurnRAPPECTraining()

void Skywatcher::TurnRAPPECTraining ( bool  on)

Member Data Documentation

◆ AxisCmd

char Skywatcher::AxisCmd[2] {'1', '2'}
private

◆ AxisFeatures

SkyWatcherFeatures Skywatcher::AxisFeatures[NUMBER_OF_SKYWATCHERAXIS]
private

◆ Backlash

unsigned long Skywatcher::Backlash[NUMBER_OF_SKYWATCHERAXIS]
private

◆ backlashperiod

unsigned long Skywatcher::backlashperiod[NUMBER_OF_SKYWATCHERAXIS]
private

◆ command

char Skywatcher::command[SKYWATCHER_MAX_CMD]
private

◆ debug

bool Skywatcher::debug
private

◆ debugnextread

bool Skywatcher::debugnextread
private

◆ DEHighspeedRatio

unsigned long Skywatcher::DEHighspeedRatio
private

◆ DEInitialized

bool Skywatcher::DEInitialized
private

◆ DEPeriod

unsigned long Skywatcher::DEPeriod
private

◆ DERunning

bool Skywatcher::DERunning
private

◆ DEStatus

SkywatcherAxisStatus Skywatcher::DEStatus
private

◆ DEStep

unsigned long Skywatcher::DEStep
private

◆ DEStepHome

unsigned long Skywatcher::DEStepHome
private

◆ DEStepInit

unsigned long Skywatcher::DEStepInit
private

◆ DESteps360

unsigned long Skywatcher::DESteps360
private

◆ DEStepsWorm

unsigned long Skywatcher::DEStepsWorm
private

◆ EQMOD_MAX_RETRY

const uint8_t Skywatcher::EQMOD_MAX_RETRY = 3
private

◆ EQMOD_TIMEOUT

const uint8_t Skywatcher::EQMOD_TIMEOUT = 5
private

◆ lastreadIndexer

unsigned long Skywatcher::lastreadIndexer[NUMBER_OF_SKYWATCHERAXIS]
private

◆ lastreadmotorposition

struct timeval Skywatcher::lastreadmotorposition[NUMBER_OF_SKYWATCHERAXIS]
private

◆ lastreadmotorstatus

struct timeval Skywatcher::lastreadmotorstatus[NUMBER_OF_SKYWATCHERAXIS]
private

◆ LastRunningStatus

SkywatcherAxisStatus Skywatcher::LastRunningStatus[NUMBER_OF_SKYWATCHERAXIS]
private

◆ MAX_RATE

constexpr double Skywatcher::MAX_RATE = 800.0
staticprivate

◆ MCVersion

unsigned long Skywatcher::MCVersion
private

◆ MIN_RATE

constexpr double Skywatcher::MIN_RATE = 0.05
staticprivate

◆ minperiods

unsigned long Skywatcher::minperiods[2]
private

◆ MountCode

unsigned long Skywatcher::MountCode
private

◆ NewStatus

SkywatcherAxisStatus Skywatcher::NewStatus[NUMBER_OF_SKYWATCHERAXIS]
private

◆ PortFD

int Skywatcher::PortFD = -1
private

◆ RAHighspeedRatio

unsigned long Skywatcher::RAHighspeedRatio
private

◆ RAInitialized

bool Skywatcher::RAInitialized
private

◆ RAPeriod

unsigned long Skywatcher::RAPeriod
private

◆ RARunning

bool Skywatcher::RARunning
private

◆ RAStatus

SkywatcherAxisStatus Skywatcher::RAStatus
private

◆ RAStep

unsigned long Skywatcher::RAStep
private

◆ RAStepHome

unsigned long Skywatcher::RAStepHome
private

◆ RAStepInit

unsigned long Skywatcher::RAStepInit
private

◆ RASteps360

unsigned long Skywatcher::RASteps360
private

◆ RAStepsWorm

unsigned long Skywatcher::RAStepsWorm
private

◆ reconnect

bool Skywatcher::reconnect
private

◆ response

char Skywatcher::response[SKYWATCHER_MAX_CMD]
private

◆ simulation

bool Skywatcher::simulation

◆ SkywatcherLeadingChar

const char Skywatcher::SkywatcherLeadingChar = ':'
staticprivate

◆ SkywatcherTrailingChar

const char Skywatcher::SkywatcherTrailingChar = 0x0d
staticprivate

◆ Target

unsigned long Skywatcher::Target[NUMBER_OF_SKYWATCHERAXIS]
private

◆ TargetBreaks

unsigned long Skywatcher::TargetBreaks[NUMBER_OF_SKYWATCHERAXIS]
private

◆ telescope

EQMod* Skywatcher::telescope
private

◆ UseBacklash

bool Skywatcher::UseBacklash[NUMBER_OF_SKYWATCHERAXIS]
private

◆ wasinitialized

bool Skywatcher::wasinitialized
private

The documentation for this class was generated from the following files: