TwiceAsNice
2019-02-18
|
#include "robofocus.h"
#include "indicom.h"
#include <memory>
#include <cstring>
#include <termios.h>
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 SetBacklashN[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 MaxTravelN[0].value |
#define | SETTINGS_TAB "Settings" |
Functions | |
std::unique_ptr< RoboFocus > | roboFocus (new RoboFocus()) |
void | ISGetProperties (const char *dev) |
Get Device Properties. More... | |
void | ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n) |
Update the value of an existing switch vector property. More... | |
void | ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n) |
Update the value of an existing text vector property. More... | |
void | ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n) |
void | ISNewBLOB (const char *dev, const char *name, int sizes[], int blobsizes[], char *blobs[], char *formats[], char *names[], int n) |
Update data of an existing blob vector property. More... | |
void | ISSnoopDevice (XMLEle *root) |
Function defined by Drivers that is called when another Driver it is snooping (by having previously called IDSnoopDevice()) sent any INDI message. More... | |
#define BACKLASH_READOUT 99999 |
#define currentAbsoluteMovement FocusAbsPosN[0].value |
#define currentBacklash SetBacklashN[0].value |
#define currentDelay SettingsN[1].value |
#define currentDuty SettingsN[0].value |
#define currentMaxPosition MinMaxPositionN[1].value |
#define currentMaxTravel MaxTravelN[0].value |
#define currentMinPosition MinMaxPositionN[0].value |
#define currentPosition FocusAbsPosN[0].value |
#define currentRelativeMovement FocusRelPosN[0].value |
#define currentSetBacklash SetBacklashN[0].value |
#define currentSpeed SpeedN[0].value |
#define currentTemperature TemperatureN[0].value |
#define currentTicks SettingsN[2].value |
#define MAXTRAVEL_READOUT 99999 |
#define RF_MAX_CMD 9 |
#define RF_TIMEOUT 3 |
#define SETTINGS_TAB "Settings" |
std::unique_ptr<RoboFocus> roboFocus | ( | new | RoboFocus() | ) |