CARMA C++
Position.h
Go to the documentation of this file.
1 #ifndef POSITION_H
2 #define POSITION_H
3 
11 #include "carma/szautil/Axis.h"
13 
14 namespace sza {
15  namespace antenna {
16  namespace control {
17 
22  class Pointing;
23  class Tracker;
24  class TrackerBoard;
25  class TvOffset;
26 
31  class Position {
32 
33  public:
34 
38  Position();
39 
43  void reset();
44 
48  void set(sza::util::Axis::Type axis, double val);
49 
53  void set(double az, double el, double pa);
54 
58  void increment(MountOffset* offset);
59 
63  double get(sza::util::Axis::Type axis);
64 
68  void pack(signed* s_elements);
69 
70  private:
71 
76  friend class Tracker;
77  friend class Pointing;
78  friend class TrackerBoard;
79  friend class TvOffset;
80 
84  double az_;
85 
89  double el_;
90 
95  double pa_;
96 
97  }; // End class Position
98 
99  }; // End namespace control
100  }; // End namespace antenna
101 }; // End namespace sza
102 
103 #endif // End #ifndef
The following class is used to record the horizon coordinates of a source.
Definition: Position.h:31
void reset()
Reset internal data members.
A class for managing mount offsets (az/el).
Definition: MountOffset.h:21
void set(sza::util::Axis::Type axis, double val)
Set an axis position.
The registers of the virtual tracker board.
Definition: TrackerBoard.h:32
void increment(MountOffset *offset)
Increment the requested position with mount offsets.
Type
An enumerator to identify a valid axis.
Definition: Axis.h:24
Tagged: Thu Nov 13 16:53:41 UTC 2003.
void pack(signed *s_elements)
Pack this position for archival in the register database.
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