FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
HeadersDrive.h
Go to the documentation of this file.
1
#ifndef FACT_HeadersDrive
2
#define FACT_HeadersDrive
3
4
namespace
Drive
5
{
6
namespace
State
7
{
8
enum
states_t
9
{
10
kDisconnected
= 1,
11
kConnected
,
12
kLocked
,
13
kUnavailable
,
// IndraDrives not connected
14
kAvailable
,
// IndraDrives connected, but not in Af
15
kBlocked
,
// Drive blocked by manual operation of emergency button
16
kArmed
,
// IndraDrives Af, not yet initialized
17
kInitialized
,
// IndraDrives Af, initialized
18
kStopping
,
19
kParking
,
20
kMoving
,
21
kTracking
,
22
kOnTrack
,
23
24
kPositioningFailed
=
/*StateMachineImp::kSM_Error*/
0x100+1,
25
kAllowedRangeExceeded
,
26
kInvalidCoordinates
,
27
//kSpeedLimitExceeded,
28
};
29
};
30
31
struct
DimPointing
32
{
33
}
__attribute__
((__packed__));
34
35
struct
DimTracking
36
{
37
}
__attribute__
((__packed__));
38
/*
39
struct DimStarguider
40
{
41
double fMissZd;
42
double fMissAz;
43
44
double fNominalZd;
45
double fNominalAz;
46
47
double fCenterX;
48
double fCenterY;
49
50
double fBrightness;
51
52
uint16_t fNumCorrelated;
53
uint16_t fNumLeds;
54
uint16_t fNumRings;
55
uint16_t fNumStars;
56
57
} __attribute__((__packed__));
58
*/
59
struct
DimTPoint
60
{
61
double
fRa
;
62
double
fDec
;
63
64
double
fNominalZd
;
65
double
fNominalAz
;
66
67
double
fPointingZd
;
68
double
fPointingAz
;
69
70
double
fFeedbackZd
;
71
double
fFeedbackAz
;
72
73
uint16_t
fNumLeds
;
74
uint16_t
fNumRings
;
75
76
double
fCenterX
;
77
double
fCenterY
;
78
double
fCenterMag
;
79
80
double
fStarX
;
81
double
fStarY
;
82
double
fStarMag
;
83
84
double
fRotation
;
85
86
double
fDx
;
87
double
fDy
;
88
89
double
fRealMag
;
90
91
}
__attribute__
((__packed__));
92
};
93
#endif
Drive::State::kParking
Definition:
HeadersDrive.h:19
Drive::DimTPoint::fStarX
double fStarX
Definition:
HeadersDrive.h:80
Drive::State::kStopping
Definition:
HeadersDrive.h:18
Drive::State::kBlocked
Definition:
HeadersDrive.h:15
Drive::DimTPoint::fPointingZd
double fPointingZd
Definition:
HeadersDrive.h:67
Drive::DimTPoint::fStarY
double fStarY
Definition:
HeadersDrive.h:81
Drive::State::kConnected
Definition:
HeadersDrive.h:11
Drive::DimTPoint::fFeedbackZd
double fFeedbackZd
Definition:
HeadersDrive.h:70
Drive::State::kPositioningFailed
Definition:
HeadersDrive.h:24
Drive::State::kUnavailable
Definition:
HeadersDrive.h:13
Drive::DimTPoint::fFeedbackAz
double fFeedbackAz
Definition:
HeadersDrive.h:71
Drive::DimTPoint::fNominalAz
double fNominalAz
Definition:
HeadersDrive.h:65
Drive::State::kAllowedRangeExceeded
Definition:
HeadersDrive.h:25
Drive
Definition:
HeadersDrive.h:4
Drive::DimTPoint::fDx
double fDx
Definition:
HeadersDrive.h:86
Drive::DimTPoint::fNominalZd
double fNominalZd
Definition:
HeadersDrive.h:64
Drive::State::states_t
states_t
Definition:
HeadersDrive.h:8
Drive::DimTPoint::fNumRings
uint16_t fNumRings
Definition:
HeadersDrive.h:74
Drive::State::kInitialized
Definition:
HeadersDrive.h:17
Drive::DimTPoint::fPointingAz
double fPointingAz
Definition:
HeadersDrive.h:68
Drive::State::kLocked
Definition:
HeadersDrive.h:12
Drive::DimTPoint::fRa
double fRa
Definition:
HeadersDrive.h:61
Drive::DimTPoint::fDy
double fDy
Definition:
HeadersDrive.h:87
Drive::DimTPoint::fRealMag
double fRealMag
Definition:
HeadersDrive.h:89
Drive::State::kArmed
Definition:
HeadersDrive.h:16
Drive::State::kInvalidCoordinates
Definition:
HeadersDrive.h:26
Drive::DimTPoint::fRotation
double fRotation
Definition:
HeadersDrive.h:84
Drive::DimTPoint::fDec
double fDec
Definition:
HeadersDrive.h:62
Drive::State::kTracking
Definition:
HeadersDrive.h:21
Drive::State::__attribute__
enum Drive::State::states_t __attribute__
Drive::DimTPoint::fCenterY
double fCenterY
Definition:
HeadersDrive.h:77
State
Definition:
HeadersFAD.h:57
Drive::DimTPoint::fCenterX
double fCenterX
Definition:
HeadersDrive.h:76
Drive::DimTPoint::fCenterMag
double fCenterMag
Definition:
HeadersDrive.h:78
Drive::State::kDisconnected
Definition:
HeadersDrive.h:10
Drive::DimTPoint::fStarMag
double fStarMag
Definition:
HeadersDrive.h:82
Drive::State::kMoving
Definition:
HeadersDrive.h:20
Drive::State::kOnTrack
Definition:
HeadersDrive.h:22
Drive::State::kAvailable
Definition:
HeadersDrive.h:14
Drive::DimTPoint::fNumLeds
uint16_t fNumLeds
Definition:
HeadersDrive.h:73
Drive::DimTPoint
Definition:
HeadersDrive.h:59
src
HeadersDrive.h
Generated on Sun Sep 18 2016 20:50:25 for FACT++ by
1.8.11