A simple GOTO telescope that simulator slewing operation.
#pragma once
{
public:
protected:
bool Goto(
double,
double)
override;
private:
double currentRA {0};
double currentDEC {90};
double targetRA {0};
double targetDEC {0};
static const uint8_t SLEW_RATE = 3;
};
bool Handshake() override
perform handshake with device to check communication
bool Goto(double, double) override
Move the scope to the supplied RA and DEC coordinates.
const char * getDefaultName() override
bool Abort() override
Abort any telescope motion including tracking if possible.
bool initProperties() override
Called to initialize basic properties required all the time.
bool ReadScopeStatus() override
Read telescope status.