source: trunk/FACT++/src/HeadersDrive.h@ 13981

Last change on this file since 13981 was 13912, checked in by tbretz, 13 years ago
File size: 1.3 KB
Line 
1#ifndef FACT_HeadersDrive
2#define FACT_HeadersDrive
3
4namespace Drive
5{
6 namespace State
7 {
8 enum states_t
9 {
10 kDisconnected = 1,
11 kConnected,
12 kNotReady,
13 kReady,
14 kArmed,
15 kMoving,
16 kTracking,
17 };
18 };
19
20 struct DimPointing
21 {
22 } __attribute__((__packed__));
23
24 struct DimTracking
25 {
26 } __attribute__((__packed__));
27
28 struct DimStarguider
29 {
30 double fMissZd;
31 double fMissAz;
32
33 double fNominalZd;
34 double fNominalAz;
35
36 double fCenterX;
37 double fCenterY;
38
39 double fBrightness;
40
41 uint16_t fNumCorrelated;
42 uint16_t fNumLeds;
43 uint16_t fNumRings;
44 uint16_t fNumStars;
45
46 } __attribute__((__packed__));
47
48 struct DimTPoint
49 {
50 double fRa;
51 double fDec;
52
53 double fNominalZd;
54 double fNominalAz;
55
56 double fPointingZd;
57 double fPointingAz;
58
59 double fFeedbackZd;
60 double fFeedbackAz;
61
62 uint16_t fNumLeds;
63 uint16_t fNumRings;
64
65 double fCenterX;
66 double fCenterY;
67 double fCenterMag;
68
69 double fStarX;
70 double fStarY;
71 double fStarMag;
72
73 double fRealMag;
74
75 } __attribute__((__packed__));
76};
77#endif
Note: See TracBrowser for help on using the repository browser.