CARMA C++
TrackerOffset.h
Go to the documentation of this file.
1 #ifndef TRACKEROFFSET_H
2 #define TRACKEROFFSET_H
3 
15 
17 
18 namespace sza {
19  namespace antenna {
20  namespace control {
21 
22  class Pointing;
23 
28  class TrackerOffset {
29 
30  public:
31 
35  TrackerOffset();
36 
40  void reset();
41 
42  // Inline these functions to reduce overhead of frequent
43  // function calls
44 
49  return &mount_;
50  };
51 
56  return &equat_;
57  };
58 
63  return &sky_;
64  };
65 
70  return &tv_;
71  };
72 
76  OffsetBase* Offset(sza::util::OffsetMsg::Type type);
77 
78  // Public methods for packing data for archival
79 
84  void packEquatOffset(signed* s_elements);
85 
90  void packHorizOffset(signed* s_elements);
91 
95  void packSkyOffset(signed* s_elements);
96 
105  void mergeTvOffset(Pointing* p);
106 
107  private:
108 
113 
118 
123 
129 
130  }; // End class TrackerOffset
131 
132  }; // End namespace control
133  }; // End namespace antenna
134 }; // End namespace sza
135 
136 #endif // End #ifndef
A class for managing mount offsets (az/el).
Definition: MountOffset.h:21
Collect together the various offset types used by the Tracker class.
Definition: TrackerOffset.h:28
sza::antenna::control::EquatOffset * EquatOffset()
Return a pointer to the equatorial offsets.
Definition: TrackerOffset.h:55
void packHorizOffset(signed *s_elements)
Pack mount horizon offsets for archival in the register database.
Tagged: Thu Nov 13 16:54:01 UTC 2003.
OffsetBase * Offset(sza::util::OffsetMsg::Type type)
A public method for obtaining a pointer to the right offset type.
Tagged: Thu Nov 13 16:53:38 UTC 2003.
While computing pointing corrections, an object of the following type is used to communicate accumula...
void reset()
Reset internal data members.
sza::antenna::control::SkyOffset * SkyOffset()
Return a pointer to the sky offsets.
Definition: TrackerOffset.h:62
Tagged: Thu Nov 13 16:53:41 UTC 2003.
sza::antenna::control::MountOffset * MountOffset()
Return a pointer to the mount offsets.
Definition: TrackerOffset.h:48
Define a class to encapsulate a variety of offsets.
Definition: OffsetBase.h:27
Tagged: Thu Nov 13 16:53:52 UTC 2003.
void packSkyOffset(signed *s_elements)
Pack sky offsets for archival in the register database.
Class to manage pointing offsets expressed as angular offsets on the sky.
Definition: SkyOffset.h:28
A class used by Tracker to handle pointing.
Definition: Pointing.h:37
Tagged: Thu Mar 11 16:38:48 PST 2004.
sza::antenna::control::TvOffset * TvOffset()
Return a pointer to the TV offsets.
Definition: TrackerOffset.h:69
A class to encapsulate offsets derived from the optical camera TV display.
Definition: TvOffset.h:29
void mergeTvOffset(PointingCorrections *f)
Update the az and el pointing offsets to include any new offsets measured by the user from the TV mon...
A class to manage equatorial (RA/DEC) tracking offsets.
Definition: EquatOffset.h:27
void packEquatOffset(signed *s_elements)
Pack equatorial offsets for archival in the register database.