M1M3 Support System
Loading...
Searching...
No Matches
ApplicationDomain.h
1/*
2 * This file is part of LSST M1M3 support system package.
3 *
4 * Developed for the Vera C. Rubin Telescope and Site System.
5 * This product includes software developed by the LSST Project
6 * (https://www.lsst.org).
7 * See the COPYRIGHT file at the top-level directory of this distribution
8 * for details of code ownership.
9 *
10 * This program is free software: you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, either version 3 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program. If not, see <https://www.gnu.org/licenses/>.
22 */
23
24#ifndef LSST_M1M3_SS_INCLUDE_APPLICATIONDOMAIN_H_
25#define LSST_M1M3_SS_INCLUDE_APPLICATIONDOMAIN_H_
26
27#define DCACCELEROMETER_1_X 0
28#define DCACCELEROMETER_1_Y 1
29#define DCACCELEROMETER_2_X 2
30#define DCACCELEROMETER_2_Y 3
31#define DCACCELEROMETER_3_X 4
32#define DCACCELEROMETER_3_Y 5
33#define DCACCELEROMETER_4_X 6
34#define DCACCELEROMETER_4_Y 7
35#define DCACCELEROMETER_COUNT 8
36
37#define IMS_SENSOR_1
38#define IMS_SENSOR_2
39#define IMS_SENSOR_3
40#define IMS_SENSOR_4
41#define IMS_SENSOR_5
42#define IMS_SENSOR_6
43#define IMS_SENSOR_7
44#define IMS_SENSOR_8
45#define IMS_SENSOR_COUNT 8
46
47#define X_INDEX 0
48#define Y_INDEX 1
49#define Z_INDEX 2
50#define RX_INDEX 3
51#define RY_INDEX 4
52#define RZ_INDEX 5
53
54#define FX_INDEX 0
55#define FY_INDEX 1
56#define FZ_INDEX 2
57#define MX_INDEX 3
58#define MY_INDEX 4
59#define MZ_INDEX 5
60
61#define AXIS_COUNT 3
62#define DOF_COUNT 6
63
64namespace LSST {
65namespace M1M3 {
66namespace SS {
67
69 float VoltageInVolts;
70 float AccelerationInMetersPerSecondSqrd;
71};
72
74 float AngularAcceleration[AXIS_COUNT];
75};
76
78 DCAccelerometer Sensor[DCACCELEROMETER_COUNT];
79 MirrorCellAngularAcceleration AngularAcceleration;
80};
81
82struct IMSSensor {
83 float DisplacementInMillimeters;
84 float DisplacementInMeters;
85};
86
88 float Position[DOF_COUNT];
89};
90
91struct IMSSystem {
92 IMSSensor Sensor[IMS_SENSOR_COUNT];
94};
95
96} /* namespace SS */
97} /* namespace M1M3 */
98} /* namespace LSST */
99
100#endif /* LSST_M1M3_SS_INCLUDE_APPLICATIONDOMAIN_H_ */
Definition ApplicationDomain.h:68
Definition ApplicationDomain.h:82
Definition ApplicationDomain.h:91
Definition ApplicationDomain.h:73
Definition ApplicationDomain.h:87