27 #ifndef _TELESCOPE_CLIENT_DIRECT_NEXSTAR_
28 #define _TELESCOPE_CLIENT_DIRECT_NEXSTAR_
33 #include "StelApp.hpp"
34 #include "StelObject.hpp"
37 #include "TelescopeClient.hpp"
38 #include "InterpolatedPosition.hpp"
56 bool isConnected(
void)
const;
60 virtual void step(
long long int timeout_micros);
61 void communicationResetReceived(
void);
62 void raReceived(
unsigned int ra_int);
63 void decReceived(
unsigned int dec_int);
68 Vec3d getJ2000EquatorialPos(
const StelCore* core=0)
const;
69 bool prepareCommunication();
70 void performCommunication();
71 void telescopeGoto(
const Vec3d &j2000Pos);
72 bool isInitialized(
void)
const;
76 void sendPosition(
unsigned int ra_int,
int dec_int,
int status);
78 void gotoReceived(
unsigned int ra_int,
int dec_int);
85 virtual bool hasKnownPosition(
void)
const
87 return interpolatedPosition.isKnown();
97 bool queue_get_position;
98 long long int next_pos_time;
101 #endif //_TELESCOPE_CLIENT_DIRECT_LX200_
Base class for telescope server classes.
Telescope client that connects directly to a Celestron NexStar through a serial port.
An abstract base class that should never be used directly, only inherited.
Serial port connection to a Celestron NexStar or a compatible telescope.