Instrument Neutral Distributed Interface INDI  2.0.2
Classes | Macros | Typedefs | Variables
eq500x.cpp File Reference
#include <cmath>
#include <memory>
#include <cstring>
#include <termios.h>
#include <unistd.h>
#include <cassert>
#include <libnova/sidereal_time.h>
#include <libnova/transform.h>
#include "lx200generic.h"
#include "eq500x.h"
#include "indicom.h"
#include "lx200driver.h"

Go to the source code of this file.

Classes

struct  _simEQ500X
 
struct  _adjustment
 

Macros

#define MechanicalPoint_DEC_FormatR   "+DD:MM:SS"
 
#define MechanicalPoint_DEC_FormatW   "+DDD:MM:SS"
 
#define MechanicalPoint_RA_Format   "HH:MM:SS"
 

Typedefs

typedef struct _simEQ500X simEQ500X_t
 

Variables

simEQ500X_t simEQ500X_zero
 
simEQ500X_t simEQ500X = simEQ500X_zero
 
struct _adjustment adjustments []
 

Macro Definition Documentation

◆ MechanicalPoint_DEC_FormatR

#define MechanicalPoint_DEC_FormatR   "+DD:MM:SS"

Definition at line 60 of file eq500x.cpp.

◆ MechanicalPoint_DEC_FormatW

#define MechanicalPoint_DEC_FormatW   "+DDD:MM:SS"

Definition at line 61 of file eq500x.cpp.

◆ MechanicalPoint_RA_Format

#define MechanicalPoint_RA_Format   "HH:MM:SS"

Definition at line 62 of file eq500x.cpp.

Typedef Documentation

◆ simEQ500X_t

typedef struct _simEQ500X simEQ500X_t

Variable Documentation

◆ adjustments

struct _adjustment adjustments[]
Initial value:
=
{
{":RG#", 0, 1 * ARCSECOND, 0.7 * ARCMINUTE, 100 },
{":RC#", 1, 0.7 * ARCMINUTE, 10 * ARCMINUTE, 200 },
{":RM#", 2, 10 * ARCMINUTE, 5 * ONEDEGREE, 500 },
{":RS#", 3, 5 * ONEDEGREE, 360 * ONEDEGREE, 1000 }
}

◆ simEQ500X

Definition at line 58 of file eq500x.cpp.

◆ simEQ500X_zero

simEQ500X_t simEQ500X_zero
Initial value:
=
{
"00:00:00",
"+00*00'00",
0.0, 0.0,
0,
}

Definition at line 50 of file eq500x.cpp.