MRPT  1.9.9
xsscrdata.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #ifndef XSSCRDATA_H
10 #define XSSCRDATA_H
11 
12 #include "pstdint.h"
13 #include "xsushortvector.h"
14 
15 #ifndef __cplusplus
16 #define XSSCRDATA_INITIALIZER \
17  { \
18  XSUSHORTVECTOR_INITIALIZER, XSUSHORTVECTOR_INITIALIZER, \
19  XSUSHORTVECTOR_INITIALIZER, \
20  { \
21  0, 0, 0, 0 \
22  } \
23  }
24 #endif
25 
26 #define XS_EXTRA_TEMPERATURE_CHANNELS 3
27 #define XS_MAX_TEMPERATURE_CHANNELS ((XS_EXTRA_TEMPERATURE_CHANNELS) + 1)
28 
29 /*! \brief Container for raw sensor measurement data
30  \details This structure contains raw measurement data from the sensors on
31  the device.
32  This data is unscaled, the bias has not been subtracted and no error
33  correction has been applied.
34 */
35 struct XsScrData
36 {
37  /** The raw accelerometer data */
39  /** The raw gyroscope data */
41  /** The raw magnetometer data */
43  /** The temperature data */
45 };
46 typedef struct XsScrData XsScrData;
47 
48 #endif // file guard
unsigned __int16 uint16_t
Definition: rptypes.h:44
#define XS_MAX_TEMPERATURE_CHANNELS
Definition: xsscrdata.h:27
XsUShortVector m_mag
The raw magnetometer data.
Definition: xsscrdata.h:42
XsUShortVector m_gyr
The raw gyroscope data.
Definition: xsscrdata.h:40
A vector containing 3 short values.
XsUShortVector m_acc
The raw accelerometer data.
Definition: xsscrdata.h:38
Container for raw sensor measurement data.
Definition: xsscrdata.h:35
uint16_t m_temp[XS_MAX_TEMPERATURE_CHANNELS]
The temperature data.
Definition: xsscrdata.h:44



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020