TwiceAsNice  2019-02-18
Macros | Functions
celestrongps.cpp File Reference
#include "celestrongps.h"
#include "indicom.h"
#include <libnova/transform.h>
#include <cmath>
#include <memory>
#include <cstring>
#include <unistd.h>
Include dependency graph for celestrongps.cpp:

Macros

#define GOTO_RATE   5
 
#define SLEW_RATE   0.5
 
#define FINE_SLEW_RATE   0.1
 
#define GOTO_LIMIT   5.5
 
#define SLEW_LIMIT   1
 
#define FINE_SLEW_LIMIT   0.5
 
#define MOUNTINFO_TAB   "Mount Info"
 

Functions

std::unique_ptr< CelestronGPStelescope (new CelestronGPS())
 
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...
 

Macro Definition Documentation

◆ FINE_SLEW_LIMIT

#define FINE_SLEW_LIMIT   0.5

◆ FINE_SLEW_RATE

#define FINE_SLEW_RATE   0.1

◆ GOTO_LIMIT

#define GOTO_LIMIT   5.5

◆ GOTO_RATE

#define GOTO_RATE   5

◆ MOUNTINFO_TAB

#define MOUNTINFO_TAB   "Mount Info"

◆ SLEW_LIMIT

#define SLEW_LIMIT   1

◆ SLEW_RATE

#define SLEW_RATE   0.5

Function Documentation

◆ ISNewNumber()

void ISNewNumber ( const char *  dev,
const char *  name,
double  values[],
char *  names[],
int  n 
)

◆ telescope()

std::unique_ptr<CelestronGPS> telescope ( new   CelestronGPS())