Main MRPT website > C++ reference for MRPT 1.9.9
xsoutputsettings.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 XSOUTPUTSETTINGS_H
10 #define XSOUTPUTSETTINGS_H
11 
12 /*! \addtogroup enums Global enumerations
13  @{
14 */
15 //! Bit values for output settings
17 {
18  XOS_Timestamp_Mask = 0x00000003,
19  XOS_Timestamp_None = 0x00000000,
26  XOS_CalibratedMode_All = 0x00000000,
38  XOS_Status_Compact = 0x00000000,
39  XOS_Status_Detailed = 0x00000080,
40  XOS_Dataformat_Mask = 0x00000300,
41  XOS_Dataformat_Float = 0x00000000,
42  XOS_Dataformat_F1220 = 0x00000100,
43  XOS_Dataformat_Fp1632 = 0x00000200,
44  XOS_Dataformat_Double = 0x00000300,
45 
46  XOS_AuxiliaryMode_Mask = 0x00000C00,
49  XOS_AuxiliaryMode_Ain1 = 0x00000800,
50  XOS_AuxiliaryMode_Ain2 = 0x00000400,
51  XOS_PositionMode_Mask = 0x0001C000,
53  XOS_VelocityMode_Mask = 0x00060000,
55  XOS_GpsInGpsPvt = 0x00000000,
56  XOS_NoGpsInGpsPvt = 0x00080000,
58  XOS_Coordinates_Ned = 0x80000000
59 
60  // XOS_Uncertainty_Orient = 0x00100000
61  // XOS_Uncertainty_Pos = 0x00200000
62  // XOS_Uncertainty_Vel = 0x00400000
63  // XOS_Uncertainty_Mask = 0x00F00000
64 
65 };
66 /*! @} */
68 
69 #define XS_DEFAULT_OUTPUT_SETTINGS \
70  (XsOutputSettings)( \
71  XOS_OrientationMode_Quaternion | XOS_Timestamp_PacketCounter)
72 
73 #ifdef __cplusplus
74 /*! \brief Allow logical or of XsOutputSettings to be a valid XsOutputSettings
75  * value */
77 {
78  return (XsOutputSettings)((unsigned long)a | (unsigned long)b);
79 }
80 
81 /*! \brief Allow logical and of XsOutputSettings to be a valid XsOutputSettings
82  * value */
84 {
85  return (XsOutputSettings)((unsigned long)a & (unsigned long)b);
86 }
87 
88 /*! \brief Allow logical inversion of XsOutputSettings to be a valid
89  * XsOutputSettings value */
91 {
92  return (XsOutputSettings) ~((unsigned long)a);
93 }
94 
95 /*! \brief Allow &= operator on XsOutputSettings */
96 inline XsOutputSettings& operator&=(
97  XsOutputSettings& left, XsOutputSettings const& right)
98 {
99  return left = left & right;
100 }
101 
102 /*! \brief Allow |= operator on XsOutputSettings */
103 inline XsOutputSettings& operator|=(
104  XsOutputSettings& left, XsOutputSettings const& right)
105 {
106  return left = left | right;
107 }
108 
109 #endif
110 
111 #endif // file guard
XOS_VelocityMode_Ms_Xyz
@ XOS_VelocityMode_Ms_Xyz
Definition: xsoutputsettings.h:54
XOS_Timestamp_Mask
@ XOS_Timestamp_Mask
Definition: xsoutputsettings.h:18
XOS_CalibratedMode_Mag_Mask
@ XOS_CalibratedMode_Mag_Mask
Definition: xsoutputsettings.h:36
XOS_Dataformat_Fp1632
@ XOS_Dataformat_Fp1632
Definition: xsoutputsettings.h:43
XOS_Status_Detailed
@ XOS_Status_Detailed
Definition: xsoutputsettings.h:39
XOS_CalibratedMode_Mask
@ XOS_CalibratedMode_Mask
Definition: xsoutputsettings.h:28
XOS_Dataformat_F1220
@ XOS_Dataformat_F1220
Definition: xsoutputsettings.h:42
XOS_OrientationMode_Mask
@ XOS_OrientationMode_Mask
Definition: xsoutputsettings.h:22
XOS_Timestamp_PacketCounter
@ XOS_Timestamp_PacketCounter
Definition: xsoutputsettings.h:20
XOS_VelocityMode_Mask
@ XOS_VelocityMode_Mask
Definition: xsoutputsettings.h:53
XOS_Dataformat_Double
@ XOS_Dataformat_Double
Definition: xsoutputsettings.h:44
XOS_AuxiliaryMode_Ain1
@ XOS_AuxiliaryMode_Ain1
Definition: xsoutputsettings.h:49
XOS_ExtendedTemperature_Mask
@ XOS_ExtendedTemperature_Mask
Definition: xsoutputsettings.h:57
XOS_Coordinates_Ned
@ XOS_Coordinates_Ned
Definition: xsoutputsettings.h:58
XOS_OrientationMode_Euler
@ XOS_OrientationMode_Euler
Definition: xsoutputsettings.h:24
XOS_CalibratedMode_Acc_Mask
@ XOS_CalibratedMode_Acc_Mask
Definition: xsoutputsettings.h:29
XOS_CalibratedMode_MagOnly
@ XOS_CalibratedMode_MagOnly
Definition: xsoutputsettings.h:37
XOS_NoGpsInGpsPvt
@ XOS_NoGpsInGpsPvt
Definition: xsoutputsettings.h:56
XOS_AuxiliaryMode_Mask
@ XOS_AuxiliaryMode_Mask
Definition: xsoutputsettings.h:46
XOS_CalibratedMode_AccOnly
@ XOS_CalibratedMode_AccOnly
Definition: xsoutputsettings.h:30
XOS_CalibratedMode_AccGyrMag_Mask
@ XOS_CalibratedMode_AccGyrMag_Mask
Definition: xsoutputsettings.h:27
XOS_PositionMode_Mask
@ XOS_PositionMode_Mask
Definition: xsoutputsettings.h:51
XOS_OrientationMode_Matrix
@ XOS_OrientationMode_Matrix
Definition: xsoutputsettings.h:25
XOS_Dataformat_Float
@ XOS_Dataformat_Float
Definition: xsoutputsettings.h:41
XOS_Timestamp_None
@ XOS_Timestamp_None
Definition: xsoutputsettings.h:19
XOS_AuxiliaryMode_Ain2
@ XOS_AuxiliaryMode_Ain2
Definition: xsoutputsettings.h:50
XOS_Status_Compact
@ XOS_Status_Compact
Definition: xsoutputsettings.h:38
XOS_CalibratedMode_GyrOnly
@ XOS_CalibratedMode_GyrOnly
Definition: xsoutputsettings.h:34
b
GLubyte GLubyte b
Definition: glext.h:6279
XOS_CalibratedMode_AccGyrOnly
@ XOS_CalibratedMode_AccGyrOnly
Definition: xsoutputsettings.h:31
XOS_CalibratedMode_GyrMagOnly
@ XOS_CalibratedMode_GyrMagOnly
Definition: xsoutputsettings.h:35
XOS_Timestamp_SampleUtc
@ XOS_Timestamp_SampleUtc
Definition: xsoutputsettings.h:21
XOS_OrientationMode_Quaternion
@ XOS_OrientationMode_Quaternion
Definition: xsoutputsettings.h:23
XOS_CalibratedMode_AccMagOnly
@ XOS_CalibratedMode_AccMagOnly
Definition: xsoutputsettings.h:32
XsOutputSettings
XsOutputSettings
Bit values for output settings.
Definition: xsoutputsettings.h:16
XOS_AuxiliaryMode_Ain2_Mask
@ XOS_AuxiliaryMode_Ain2_Mask
Definition: xsoutputsettings.h:48
mrpt::math::operator~
const Eigen::MatrixBase< Derived >::AdjointReturnType operator~(const Eigen::MatrixBase< Derived > &m)
Transpose operator for matrices.
Definition: ops_matrices.h:33
XOS_Dataformat_Mask
@ XOS_Dataformat_Mask
Definition: xsoutputsettings.h:40
XOS_CalibratedMode_Gyr_Mask
@ XOS_CalibratedMode_Gyr_Mask
Definition: xsoutputsettings.h:33
XOS_PositionMode_Lla_Wgs84
@ XOS_PositionMode_Lla_Wgs84
Definition: xsoutputsettings.h:52
XOS_AuxiliaryMode_Ain1_Mask
@ XOS_AuxiliaryMode_Ain1_Mask
Definition: xsoutputsettings.h:47
XOS_CalibratedMode_All
@ XOS_CalibratedMode_All
Definition: xsoutputsettings.h:26
XOS_GpsInGpsPvt
@ XOS_GpsInGpsPvt
Definition: xsoutputsettings.h:55
a
GLubyte GLubyte GLubyte a
Definition: glext.h:6279



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