TwiceAsNice  2019-02-18
Macros | Functions | Variables
skywatcherAPIMount.cpp File Reference
#include "skywatcherAPIMount.h"
#include "indicom.h"
#include "alignment/DriverCommon.h"
#include "connectionplugins/connectionserial.h"
#include <chrono>
#include <thread>
Include dependency graph for skywatcherAPIMount.cpp:

Macros

#define SLEWMODES   9
 

Functions

std::unique_ptr< SkywatcherAPIMountSkywatcherAPIMountPtr (new SkywatcherAPIMount())
 
void ISPoll (void *p)
 Used to read periodically the data from the device. More...
 
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...
 

Variables

double SlewSpeeds [SLEWMODES] = { 1.0, 2.0, 4.0, 8.0, 16.0, 32.0, 64.0, 128.0, 600.0 }
 

Detailed Description

Author
Roger James
Gerry Rozema
Jean-Luc Geehalel
Date
13th November 2013

This file contains the implementation in C++ of a INDI telescope driver using the Skywatcher API. It is based on work from three sources. A C++ implementation of the API by Roger James. The indi_eqmod driver by Jean-Luc Geehalel. The synscanmount driver by Gerry Rozema.

Macro Definition Documentation

◆ SLEWMODES

#define SLEWMODES   9

Function Documentation

◆ ISNewNumber()

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

◆ ISPoll()

void ISPoll ( void *  p)

Used to read periodically the data from the device.

Parameters
pthe AAGCloudWatcher object

◆ SkywatcherAPIMountPtr()

std::unique_ptr<SkywatcherAPIMount> SkywatcherAPIMountPtr ( new   SkywatcherAPIMount())

Variable Documentation

◆ SlewSpeeds

double SlewSpeeds[SLEWMODES] = { 1.0, 2.0, 4.0, 8.0, 16.0, 32.0, 64.0, 128.0, 600.0 }