CARMA C++
TvOffset.h
Go to the documentation of this file.
1 #ifndef TVOFFSET_H
2 #define TVOFFSET_H
3 
12 
13 namespace sza {
14  namespace antenna {
15  namespace control {
16 
17 
22  class Tracker;
23  class Pointing;
24 
29  class TvOffset : public OffsetBase {
30 
31  public:
32 
36  TvOffset();
37 
41  void set(sza::util::OffsetMsg msg);
42 
46  void setAngle(double zero_angle);
47 
51  void reset();
52 
56  void apply(PointingCorrections* f, double* daz, double* del);
57 
61  void apply(Pointing* p, double* daz, double* del);
62 
63  private:
64 
68  friend class Tracker;
69 
73  double zero_angle_;
74 
81  double up_, right_;
82 
87  bool pending_;
88 
92  int seq_;
93 
94  }; // End class TvOffset
95 
96  }; // End namespace control
97  }; // End namespace antenna
98 }; // End namespace sza
99 
100 #endif // End #ifndef
void set(sza::util::OffsetMsg msg)
Install a new offset received from the ACC.
void setAngle(double zero_angle)
Set the zero-point angle.
While computing pointing corrections, an object of the following type is used to communicate accumula...
void reset()
Reset internal members to default values.
Define a class to encapsulate a variety of offsets.
Definition: OffsetBase.h:27
A class used by Tracker to handle pointing.
Definition: Pointing.h:37
A class to encapsulate offsets derived from the optical camera TV display.
Definition: TvOffset.h:29
Define a class that will handle pointing and tracking for this antenna.
Definition: Tracker.h:51
Tagged: Thu Nov 13 16:53:42 UTC 2003.
void apply(PointingCorrections *f, double *daz, double *del)
Apply the tv offsets to the current pointing corrections.