Instrument Neutral Distributed Interface INDI  2.0.2
Macros | Functions | Variables
paramount.cpp File Reference
#include "paramount.h"
#include "indicom.h"
#include <libnova/sidereal_time.h>
#include <libnova/transform.h>
#include <cmath>
#include <cstring>
#include <memory>
#include <termios.h>

Go to the source code of this file.

Macros

#define GOTO_RATE   5 /* slew rate, degrees/s */
 
#define SLEW_RATE   0.5 /* slew rate, degrees/s */
 
#define FINE_SLEW_RATE   0.1 /* slew rate, degrees/s */
 
#define GOTO_LIMIT   5.5 /* Move at GOTO_RATE until distance from target is GOTO_LIMIT degrees */
 
#define SLEW_LIMIT   1 /* Move at SLEW_LIMIT until distance from target is SLEW_LIMIT degrees */
 
#define PARAMOUNT_TIMEOUT   3 /* Timeout in seconds */
 
#define PARAMOUNT_NORTH   0
 
#define PARAMOUNT_SOUTH   1
 
#define PARAMOUNT_EAST   2
 
#define PARAMOUNT_WEST   3
 
#define RA_AXIS   0
 
#define DEC_AXIS   1
 
#define SLEWMODES   9
 

Functions

std::unique_ptr< Paramountparamount_mount (new Paramount())
 

Variables

const double slewspeeds [SLEWMODES] = { 1.0, 2.0, 4.0, 8.0, 32.0, 64.0, 128.0, 256.0, 512.0 }
 

Macro Definition Documentation

◆ DEC_AXIS

#define DEC_AXIS   1

Definition at line 65 of file paramount.cpp.

◆ FINE_SLEW_RATE

#define FINE_SLEW_RATE   0.1 /* slew rate, degrees/s */

Definition at line 53 of file paramount.cpp.

◆ GOTO_LIMIT

#define GOTO_LIMIT   5.5 /* Move at GOTO_RATE until distance from target is GOTO_LIMIT degrees */

Definition at line 55 of file paramount.cpp.

◆ GOTO_RATE

#define GOTO_RATE   5 /* slew rate, degrees/s */

Definition at line 51 of file paramount.cpp.

◆ PARAMOUNT_EAST

#define PARAMOUNT_EAST   2

Definition at line 61 of file paramount.cpp.

◆ PARAMOUNT_NORTH

#define PARAMOUNT_NORTH   0

Definition at line 59 of file paramount.cpp.

◆ PARAMOUNT_SOUTH

#define PARAMOUNT_SOUTH   1

Definition at line 60 of file paramount.cpp.

◆ PARAMOUNT_TIMEOUT

#define PARAMOUNT_TIMEOUT   3 /* Timeout in seconds */

Definition at line 58 of file paramount.cpp.

◆ PARAMOUNT_WEST

#define PARAMOUNT_WEST   3

Definition at line 62 of file paramount.cpp.

◆ RA_AXIS

#define RA_AXIS   0

Definition at line 64 of file paramount.cpp.

◆ SLEW_LIMIT

#define SLEW_LIMIT   1 /* Move at SLEW_LIMIT until distance from target is SLEW_LIMIT degrees */

Definition at line 56 of file paramount.cpp.

◆ SLEW_RATE

#define SLEW_RATE   0.5 /* slew rate, degrees/s */

Definition at line 52 of file paramount.cpp.

◆ SLEWMODES

#define SLEWMODES   9

Definition at line 68 of file paramount.cpp.

Function Documentation

◆ paramount_mount()

std::unique_ptr<Paramount> paramount_mount ( new   Paramount())

Variable Documentation

◆ slewspeeds

const double slewspeeds[SLEWMODES] = { 1.0, 2.0, 4.0, 8.0, 32.0, 64.0, 128.0, 256.0, 512.0 }

Definition at line 69 of file paramount.cpp.