Instrument Neutral Distributed Interface INDI  1.9.5
Macros
robofocus.cpp File Reference
#include "robofocus.h"
#include "indicom.h"
#include <memory>
#include <cstring>
#include <termios.h>

Go to the source code of this file.

Macros

#define RF_MAX_CMD   9
 
#define RF_TIMEOUT   3
 
#define BACKLASH_READOUT   99999
 
#define MAXTRAVEL_READOUT   99999
 
#define currentSpeed   SpeedN[0].value
 
#define currentPosition   FocusAbsPosN[0].value
 
#define currentTemperature   TemperatureN[0].value
 
#define currentBacklash   FocusBacklashN[0].value
 
#define currentDuty   SettingsN[0].value
 
#define currentDelay   SettingsN[1].value
 
#define currentTicks   SettingsN[2].value
 
#define currentRelativeMovement   FocusRelPosN[0].value
 
#define currentAbsoluteMovement   FocusAbsPosN[0].value
 
#define currentSetBacklash   SetBacklashN[0].value
 
#define currentMinPosition   MinMaxPositionN[0].value
 
#define currentMaxPosition   MinMaxPositionN[1].value
 
#define currentMaxTravel   FocusMaxPosN[0].value
 
#define SETTINGS_TAB   "Settings"
 

Macro Definition Documentation

◆ BACKLASH_READOUT

#define BACKLASH_READOUT   99999

Definition at line 33 of file robofocus.cpp.

◆ currentAbsoluteMovement

#define currentAbsoluteMovement   FocusAbsPosN[0].value

Definition at line 44 of file robofocus.cpp.

◆ currentBacklash

#define currentBacklash   FocusBacklashN[0].value

Definition at line 39 of file robofocus.cpp.

◆ currentDelay

#define currentDelay   SettingsN[1].value

Definition at line 41 of file robofocus.cpp.

◆ currentDuty

#define currentDuty   SettingsN[0].value

Definition at line 40 of file robofocus.cpp.

◆ currentMaxPosition

#define currentMaxPosition   MinMaxPositionN[1].value

Definition at line 47 of file robofocus.cpp.

◆ currentMaxTravel

#define currentMaxTravel   FocusMaxPosN[0].value

Definition at line 48 of file robofocus.cpp.

◆ currentMinPosition

#define currentMinPosition   MinMaxPositionN[0].value

Definition at line 46 of file robofocus.cpp.

◆ currentPosition

#define currentPosition   FocusAbsPosN[0].value

Definition at line 37 of file robofocus.cpp.

◆ currentRelativeMovement

#define currentRelativeMovement   FocusRelPosN[0].value

Definition at line 43 of file robofocus.cpp.

◆ currentSetBacklash

#define currentSetBacklash   SetBacklashN[0].value

Definition at line 45 of file robofocus.cpp.

◆ currentSpeed

#define currentSpeed   SpeedN[0].value

Definition at line 36 of file robofocus.cpp.

◆ currentTemperature

#define currentTemperature   TemperatureN[0].value

Definition at line 38 of file robofocus.cpp.

◆ currentTicks

#define currentTicks   SettingsN[2].value

Definition at line 42 of file robofocus.cpp.

◆ MAXTRAVEL_READOUT

#define MAXTRAVEL_READOUT   99999

Definition at line 34 of file robofocus.cpp.

◆ RF_MAX_CMD

#define RF_MAX_CMD   9

Definition at line 30 of file robofocus.cpp.

◆ RF_TIMEOUT

#define RF_TIMEOUT   3

Definition at line 31 of file robofocus.cpp.

◆ SETTINGS_TAB

#define SETTINGS_TAB   "Settings"

Definition at line 50 of file robofocus.cpp.