KM3NeT CLB  2.0
KM3NeT CLB v2 Embedded Software
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
types.h
1 /*
2  * KM3NeT CLB v2 Firmware
3  * ----------------------
4  *
5  * Copyright 2012-2016 KM3NeT Collaboration
6  *
7  * All Rights Reserved.
8  *
9  *
10  * File : types.h
11  * Created : 18 apr. 2016
12  * Author : Vincent van Beveren
13  */
14 #ifndef TYPES_H_
15 #define TYPES_H_
16 
17 #include "util/float.h"
18 
19 /**
20  * Structure defines data from a compass/tilt/gyro sensor.
21  */
22 typedef struct{
23  f32_t yaw; ///< Yaw in deg (Float)
24  f32_t pitch; ///< Pitch in deg (Float)
25  f32_t roll; ///< Roll in deg (Float)
26  f32_t ax; ///< Ax in g (Float)
27  f32_t ay; ///< Ay in g (Float)
28  f32_t az; ///< Az in g (Float)
29  f32_t gx; ///< Gx in deg/sec (Float)
30  f32_t gy; ///< Gy in deg/sec (Float)
31  f32_t gz; ///< Gz in deg/sec (Float)
32  f32_t hx; ///< Hx in gauss (Float)
33  f32_t hy; ///< Hy in gauss (Float)
34  f32_t hz; ///< Hz in gauss (Float)
35 } CompassData;
36 
37 
38 #endif /* TYPES_H_ */
f32_t az
Az in g (Float)
Definition: types.h:28
f32_t hx
Hx in gauss (Float)
Definition: types.h:32
f32_t pitch
Pitch in deg (Float)
Definition: types.h:24
Special library for primitive IEEE 754 floating point handling without dragging all float support alo...
f32_t hz
Hz in gauss (Float)
Definition: types.h:34
Structure defines data from a compass/tilt/gyro sensor.
Definition: types.h:22
f32_t gx
Gx in deg/sec (Float)
Definition: types.h:29
f32_t gy
Gy in deg/sec (Float)
Definition: types.h:30
uint32_t f32_t
32 bit representation for float.
Definition: float.h:30
f32_t ax
Ax in g (Float)
Definition: types.h:26
f32_t gz
Gz in deg/sec (Float)
Definition: types.h:31
f32_t hy
Hy in gauss (Float)
Definition: types.h:33
f32_t yaw
Yaw in deg (Float)
Definition: types.h:23
f32_t ay
Ay in g (Float)
Definition: types.h:27
f32_t roll
Roll in deg (Float)
Definition: types.h:25