Instrument Neutral Distributed Interface INDI 2.2.5
lx200_OnStep.h File Reference
#include "lx200generic.h"
#include "lx200driver.h"
#include "indicom.h"
#include "indifocuserinterface.h"
#include "indiweatherinterface.h"
#include "indirotatorinterface.h"
#include "connectionplugins/connectiontcp.h"
#include "indipropertytext.h"
#include "indipropertyswitch.h"
#include "indipropertynumber.h"
#include <chrono>
#include <cstring>
#include <unistd.h>
#include <termios.h>
#include <stdlib.h>

Go to the source code of this file.

Classes

class  LX200_OnStep

Macros

#define RB_MAX_LEN   64
#define CMD_MAX_LEN   32
#define PORTS_COUNT   10
#define STARTING_PORT   0

Enumerations

enum  ResponseErrors { RES_ERR_FORMAT = -1001 }
enum  Errors {
  ERR_NONE , ERR_MOTOR_FAULT , ERR_ALT_MIN , ERR_LIMIT_SENSE ,
  ERR_DEC , ERR_AZM , ERR_UNDER_POLE , ERR_MERIDIAN ,
  ERR_SYNC , ERR_PARK , ERR_GOTO_SYNC , ERR_UNSPECIFIED ,
  ERR_ALT_MAX , ERR_GOTO_ERR_NONE , ERR_GOTO_ERR_BELOW_HORIZON , ERR_GOTO_ERR_ABOVE_OVERHEAD ,
  ERR_GOTO_ERR_STANDBY , ERR_GOTO_ERR_PARK , ERR_GOTO_ERR_GOTO , ERR_GOTO_ERR_OUTSIDE_LIMITS ,
  ERR_GOTO_ERR_HARDWARE_FAULT , ERR_GOTO_ERR_IN_MOTION , ERR_GOTO_ERR_UNSPECIFIED
}
enum  RateCompensation {
  RC_NONE , RC_REFR_RA , RC_REFR_BOTH , RC_FULL_RA ,
  RC_FULL_BOTH
}
enum  MountType { MOUNTTYPE_GEM , MOUNTTYPE_FORK , MOUNTTYPE_FORK_ALT , MOUNTTYPE_ALTAZ }
enum  OnStepVersion {
  OSV_UNKNOWN , OSV_OnStepV1or2 , OSV_OnStepV3 , OSV_OnStepV4 ,
  OSV_OnStepV5 , OSV_OnStepX
}

Macro Definition Documentation

◆ CMD_MAX_LEN

#define CMD_MAX_LEN   32

Definition at line 164 of file lx200_OnStep.h.

◆ PORTS_COUNT

#define PORTS_COUNT   10

Definition at line 166 of file lx200_OnStep.h.

◆ RB_MAX_LEN

#define RB_MAX_LEN   64

Definition at line 163 of file lx200_OnStep.h.

◆ STARTING_PORT

#define STARTING_PORT   0

Definition at line 167 of file lx200_OnStep.h.

Enumeration Type Documentation

◆ Errors

enum Errors
Enumerator
ERR_NONE 
ERR_MOTOR_FAULT 
ERR_ALT_MIN 
ERR_LIMIT_SENSE 
ERR_DEC 
ERR_AZM 
ERR_UNDER_POLE 
ERR_MERIDIAN 
ERR_SYNC 
ERR_PARK 
ERR_GOTO_SYNC 
ERR_UNSPECIFIED 
ERR_ALT_MAX 
ERR_GOTO_ERR_NONE 
ERR_GOTO_ERR_BELOW_HORIZON 
ERR_GOTO_ERR_ABOVE_OVERHEAD 
ERR_GOTO_ERR_STANDBY 
ERR_GOTO_ERR_PARK 
ERR_GOTO_ERR_GOTO 
ERR_GOTO_ERR_OUTSIDE_LIMITS 
ERR_GOTO_ERR_HARDWARE_FAULT 
ERR_GOTO_ERR_IN_MOTION 
ERR_GOTO_ERR_UNSPECIFIED 

Definition at line 171 of file lx200_OnStep.h.

◆ MountType

enum MountType
Enumerator
MOUNTTYPE_GEM 
MOUNTTYPE_FORK 
MOUNTTYPE_FORK_ALT 
MOUNTTYPE_ALTAZ 

Definition at line 174 of file lx200_OnStep.h.

◆ OnStepVersion

Enumerator
OSV_UNKNOWN 
OSV_OnStepV1or2 
OSV_OnStepV3 
OSV_OnStepV4 
OSV_OnStepV5 
OSV_OnStepX 

Definition at line 176 of file lx200_OnStep.h.

◆ RateCompensation

Enumerator
RC_NONE 
RC_REFR_RA 
RC_REFR_BOTH 
RC_FULL_RA 
RC_FULL_BOTH 

Definition at line 172 of file lx200_OnStep.h.

◆ ResponseErrors

Enumerator
RES_ERR_FORMAT 

Definition at line 169 of file lx200_OnStep.h.