Telescope Control Library
Diff: EquatorialMount.h
- Revision:
- 10:e356188d208e
- Parent:
- 9:d0413a9b1386
- Child:
- 18:3ea58b079adc
diff -r d0413a9b1386 -r e356188d208e EquatorialMount.h --- a/EquatorialMount.h Mon Sep 10 02:41:05 2018 -0400 +++ b/EquatorialMount.h Fri Sep 14 01:30:55 2018 -0400 @@ -1,8 +1,5 @@ #ifndef EQUATORIALMOUNT_H_ #define EQUATORIALMOUNT_H_ - -class EquatorialMount; - #include "Axis.h" #include "Mount.h" #include "UTCClock.h" @@ -12,6 +9,9 @@ #define MAX_AS_N 10 // Max number of alignment stars +class Axis; +class PEC; + /** * Direction of nudge */ @@ -44,8 +44,6 @@ Axis &ra; /// RA Axis Axis &dec; /// DEC Axis - PEC pec; /// PEC function - UTCClock &clock; /// Clock Mutex mutex_update; /// Mutex to lock position updating @@ -63,6 +61,8 @@ AlignmentStar alignment_stars[MAX_AS_N]; int num_alignment_stars; + PEC pec; /// PEC function + public: /** @@ -353,7 +353,7 @@ /** @return get current location coodinates. */ - const LocationCoordinates& getLocation() const { + LocationCoordinates getLocation() const { return loc.getLocation(); }