CARMA C++
SkyOffset.h
Go to the documentation of this file.
1 #ifndef SKYOFFSET_H
2 #define SKYOFFSET_H
3 
12 
13 namespace sza {
14  namespace antenna {
15  namespace control {
16 
17 
22  class Tracker;
23 
28  class SkyOffset : public OffsetBase {
29 
30  public:
31 
35  SkyOffset();
36 
40  void reset();
41 
45  void set(sza::util::OffsetMsg msg);
46 
47  void setXInRadians(double x);
48  void setYInRadians(double y);
49  void incrXInRadians(double x);
50  void incrYInRadians(double y);
51  void cacheValues();
52 
57  void apply(PointingCorrections* f);
58 
59  /*
60  * Pack offsets for archival in the register database.
61  */
62  void pack(signed* s_elements);
63 
64  private:
65 
69  friend class Tracker;
70 
75  bool active_;
76 
87  double x_,y_;
88 
96  double cos_theta_;
97  double sin_theta_;
98 
102  double cos_radius_;
103 
107  double sin_radius_;
108 
109  }; // End class SkyOffset
110 
111  }; // End namespace control
112  }; // End namespace antenna
113 }; // End namespace sza
114 
115 #endif // End #ifndef
void reset()
Reset the offsets to default values.
While computing pointing corrections, an object of the following type is used to communicate accumula...
SkyOffset()
Constructor just initializes the offsets.
void apply(PointingCorrections *f)
Add in any position-independent sky offsets to the current pointing model.
Define a class to encapsulate a variety of offsets.
Definition: OffsetBase.h:27
Class to manage pointing offsets expressed as angular offsets on the sky.
Definition: SkyOffset.h:28
Define a class that will handle pointing and tracking for this antenna.
Definition: Tracker.h:51
void set(sza::util::OffsetMsg msg)
Update the values of the sky offset.
Tagged: Thu Nov 13 16:53:42 UTC 2003.