Main MRPT website > C++ reference for 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
XsScrData::m_acc
XsUShortVector m_acc
The raw accelerometer data.
Definition: xsscrdata.h:38
uint16_t
unsigned __int16 uint16_t
Definition: rptypes.h:44
XsScrData::m_mag
XsUShortVector m_mag
The raw magnetometer data.
Definition: xsscrdata.h:42
XS_MAX_TEMPERATURE_CHANNELS
#define XS_MAX_TEMPERATURE_CHANNELS
Definition: xsscrdata.h:27
XsUShortVector
A vector containing 3 short values.
Definition: xsushortvector.h:24
XsScrData::m_temp
uint16_t m_temp[XS_MAX_TEMPERATURE_CHANNELS]
The temperature data.
Definition: xsscrdata.h:44
pstdint.h
XsScrData::m_gyr
XsUShortVector m_gyr
The raw gyroscope data.
Definition: xsscrdata.h:40
XsScrData
Container for raw sensor measurement data.
Definition: xsscrdata.h:35
xsushortvector.h



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST