source: branches/testFACT++branch/src/HeadersDrive.h@ 19366

Last change on this file since 19366 was 14594, checked in by tbretz, 12 years ago
Added state 'OnTrack'
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 kLocked,
13 kNotReady,
14 kReady,
15 kArmed,
16 kMoving,
17 kTracking,
18 kOnTrack,
19 };
20 };
21
22 struct DimPointing
23 {
24 } __attribute__((__packed__));
25
26 struct DimTracking
27 {
28 } __attribute__((__packed__));
29
30 struct DimStarguider
31 {
32 double fMissZd;
33 double fMissAz;
34
35 double fNominalZd;
36 double fNominalAz;
37
38 double fCenterX;
39 double fCenterY;
40
41 double fBrightness;
42
43 uint16_t fNumCorrelated;
44 uint16_t fNumLeds;
45 uint16_t fNumRings;
46 uint16_t fNumStars;
47
48 } __attribute__((__packed__));
49
50 struct DimTPoint
51 {
52 double fRa;
53 double fDec;
54
55 double fNominalZd;
56 double fNominalAz;
57
58 double fPointingZd;
59 double fPointingAz;
60
61 double fFeedbackZd;
62 double fFeedbackAz;
63
64 uint16_t fNumLeds;
65 uint16_t fNumRings;
66
67 double fCenterX;
68 double fCenterY;
69 double fCenterMag;
70
71 double fStarX;
72 double fStarY;
73 double fStarMag;
74
75 double fRealMag;
76
77 } __attribute__((__packed__));
78};
79#endif
Note: See TracBrowser for help on using the repository browser.