CARMA C++
PmacTarget.h
Go to the documentation of this file.
1 #ifndef PMACTARGET_H
2 #define PMACTARGET_H
3 
12 #include "carma/szautil/PmacMode.h"
13 
14 #include "carma/szautil/Axis.h"
16 
17 namespace sza {
18  namespace antenna {
19  namespace control {
20 
24  class Tracker;
25 
26  class PmacTarget {
27 
28  public:
29 
36  PmacAxis(sza::util::Axis::Type axis);
37 
42 
46  void setMode(sza::util::PmacMode::Mode mode);
47 
52  void packMode(unsigned* u_elements);
53 
58  void packCounts(signed* s_elements);
59 
64  void packRates(signed* s_elements);
65 
66  private:
67 
68  friend class Tracker;
69 
70  sza::util::PmacMode::Mode mode_; // The pmac mode
71 
72  // The encoder positions and rates of the azimuth drive
73 
75 
76  // The encoder positions and rates of the elevation drive
77 
79 
80  // The encoder positions and rates of the PA drive
81 
83 
84  }; // End class PmacTarget
85 
86  }; // End namespace control
87  }; // End namespace antenna
88 }; // End namespace sza
89 
90 #endif // End #ifndef
Tagged: Thu Nov 13 16:53:43 UTC 2003.
modeType getMode(idType id)
Extract the address mode from a 29 bit can id.
Type
An enumerator to identify a valid axis.
Definition: Axis.h:24
Mode
Enumerate the pmac control modes.
Definition: PmacMode.h:24
Tagged: Thu Nov 13 16:53:45 UTC 2003.
Encapsulate the encoder counts and rates for a telescope axis.
Definition: PmacAxis.h:26