Instrument Neutral Distributed Interface INDI 2.2.5
teenastro.cpp File Reference
#include "teenastro.h"
#include "indicom.h"
#include "indicontroller.h"
#include <unistd.h>
#include <termios.h>

Go to the source code of this file.

Macros

#define TAF_curr_default   500
#define TAF_curr_min   100
#define TAF_curr_max   1600
#define TAF_micro_default   (1<<4)
#define TAF_micro_min   (1<<2)
#define TAF_micro_max   (1<<7)
#define TAF_steprot_default   200
#define TAF_steprot_min   10
#define TAF_steprot_max   800
#define TAF_pos_default   0
#define TAF_pos_min   0
#define TAF_pos_max   2000000000UL
#define TAF_speed_default   20
#define TAF_speed_min   1
#define TAF_speed_max   999
#define TAF_acc_default   30
#define TAF_acc_min   1
#define TAF_acc_max   99
#define TAF_res_default   16
#define TAF_res_min   1
#define TAF_res_max   512
#define TAF_UI_STEPS   100.0
#define TAF_STEP(min, max)
#define TAF_FOCUSER_TIMEOUT   2
#define TAF_FOCUSER_BUFSIZE   128

Functions

std::unique_ptr< TeenAstroFocuser > teenAstroFocuser (new TeenAstroFocuser())

Macro Definition Documentation

◆ TAF_acc_default

#define TAF_acc_default   30

Definition at line 47 of file teenastro.cpp.

◆ TAF_acc_max

#define TAF_acc_max   99

Definition at line 49 of file teenastro.cpp.

◆ TAF_acc_min

#define TAF_acc_min   1

Definition at line 48 of file teenastro.cpp.

◆ TAF_curr_default

#define TAF_curr_default   500

Definition at line 32 of file teenastro.cpp.

◆ TAF_curr_max

#define TAF_curr_max   1600

Definition at line 34 of file teenastro.cpp.

◆ TAF_curr_min

#define TAF_curr_min   100

Definition at line 33 of file teenastro.cpp.

◆ TAF_FOCUSER_BUFSIZE

#define TAF_FOCUSER_BUFSIZE   128

Definition at line 59 of file teenastro.cpp.

◆ TAF_FOCUSER_TIMEOUT

#define TAF_FOCUSER_TIMEOUT   2

Definition at line 58 of file teenastro.cpp.

◆ TAF_micro_default

#define TAF_micro_default   (1<<4)

Definition at line 35 of file teenastro.cpp.

◆ TAF_micro_max

#define TAF_micro_max   (1<<7)

Definition at line 37 of file teenastro.cpp.

◆ TAF_micro_min

#define TAF_micro_min   (1<<2)

Definition at line 36 of file teenastro.cpp.

◆ TAF_pos_default

#define TAF_pos_default   0

Definition at line 41 of file teenastro.cpp.

◆ TAF_pos_max

#define TAF_pos_max   2000000000UL

Definition at line 43 of file teenastro.cpp.

◆ TAF_pos_min

#define TAF_pos_min   0

Definition at line 42 of file teenastro.cpp.

◆ TAF_res_default

#define TAF_res_default   16

Definition at line 50 of file teenastro.cpp.

◆ TAF_res_max

#define TAF_res_max   512

Definition at line 52 of file teenastro.cpp.

◆ TAF_res_min

#define TAF_res_min   1

Definition at line 51 of file teenastro.cpp.

◆ TAF_speed_default

#define TAF_speed_default   20

Definition at line 44 of file teenastro.cpp.

◆ TAF_speed_max

#define TAF_speed_max   999

Definition at line 46 of file teenastro.cpp.

◆ TAF_speed_min

#define TAF_speed_min   1

Definition at line 45 of file teenastro.cpp.

◆ TAF_STEP

#define TAF_STEP ( min,
max )
Value:
(((max)-(min))/(TAF_UI_STEPS))
double max(void)
#define min(a, b)
#define TAF_UI_STEPS
Definition teenastro.cpp:54

Definition at line 55 of file teenastro.cpp.

◆ TAF_steprot_default

#define TAF_steprot_default   200

Definition at line 38 of file teenastro.cpp.

◆ TAF_steprot_max

#define TAF_steprot_max   800

Definition at line 40 of file teenastro.cpp.

◆ TAF_steprot_min

#define TAF_steprot_min   10

Definition at line 39 of file teenastro.cpp.

◆ TAF_UI_STEPS

#define TAF_UI_STEPS   100.0

Definition at line 54 of file teenastro.cpp.

Function Documentation

◆ teenAstroFocuser()

std::unique_ptr< TeenAstroFocuser > teenAstroFocuser ( new TeenAstroFocuser())