Main MRPT website
>
C++ reference for MRPT 1.5.9
xSens_MT4
xstypes
include
xsens
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-2017, 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
16
enum
XsOutputSettings
{
17
XOS_Timestamp_Mask
= 0x00000003,
18
XOS_Timestamp_None
= 0x00000000,
19
XOS_Timestamp_PacketCounter
= 0x00000001,
20
XOS_Timestamp_SampleUtc
= 0x00000002,
21
XOS_OrientationMode_Mask
= 0x0000000C,
22
XOS_OrientationMode_Quaternion
= 0x00000000,
23
XOS_OrientationMode_Euler
= 0x00000004,
24
XOS_OrientationMode_Matrix
= 0x00000008,
25
XOS_CalibratedMode_All
= 0x00000000,
26
XOS_CalibratedMode_AccGyrMag_Mask
= 0x00000070,
27
XOS_CalibratedMode_Mask
=
XOS_CalibratedMode_AccGyrMag_Mask
,
28
XOS_CalibratedMode_Acc_Mask
= 0x00000010,
29
XOS_CalibratedMode_AccOnly
= 0x00000060,
30
XOS_CalibratedMode_AccGyrOnly
= 0x00000040,
31
XOS_CalibratedMode_AccMagOnly
= 0x00000020,
32
XOS_CalibratedMode_Gyr_Mask
= 0x00000020,
33
XOS_CalibratedMode_GyrOnly
= 0x00000050,
34
XOS_CalibratedMode_GyrMagOnly
= 0x00000010,
35
XOS_CalibratedMode_Mag_Mask
= 0x00000040,
36
XOS_CalibratedMode_MagOnly
= 0x00000030,
37
XOS_Status_Compact
= 0x00000000,
38
XOS_Status_Detailed
= 0x00000080,
39
XOS_Dataformat_Mask
= 0x00000300,
40
XOS_Dataformat_Float
= 0x00000000,
41
XOS_Dataformat_F1220
= 0x00000100,
42
XOS_Dataformat_Fp1632
= 0x00000200,
43
XOS_Dataformat_Double
= 0x00000300,
44
45
XOS_AuxiliaryMode_Mask
= 0x00000C00,
46
XOS_AuxiliaryMode_Ain1_Mask
= 0x00000400,
47
XOS_AuxiliaryMode_Ain2_Mask
= 0x00000800,
48
XOS_AuxiliaryMode_Ain1
= 0x00000800,
49
XOS_AuxiliaryMode_Ain2
= 0x00000400,
50
XOS_PositionMode_Mask
= 0x0001C000,
51
XOS_PositionMode_Lla_Wgs84
= 0x00000000,
52
XOS_VelocityMode_Mask
= 0x00060000,
53
XOS_VelocityMode_Ms_Xyz
= 0x00000000,
54
XOS_GpsInGpsPvt
= 0x00000000,
55
XOS_NoGpsInGpsPvt
= 0x00080000,
56
XOS_ExtendedTemperature_Mask
= 0x01000000,
57
XOS_Coordinates_Ned
= 0x80000000
58
59
//XOS_Uncertainty_Orient = 0x00100000
60
//XOS_Uncertainty_Pos = 0x00200000
61
//XOS_Uncertainty_Vel = 0x00400000
62
//XOS_Uncertainty_Mask = 0x00F00000
63
64
};
65
/*! @} */
66
typedef
enum
XsOutputSettings
XsOutputSettings
;
67
68
#define XS_DEFAULT_OUTPUT_SETTINGS (XsOutputSettings)(XOS_OrientationMode_Quaternion | XOS_Timestamp_PacketCounter)
69
70
#ifdef __cplusplus
71
/*! \brief Allow logical or of XsOutputSettings to be a valid XsOutputSettings value */
72
inline
XsOutputSettings
operator | (
XsOutputSettings
a
,
XsOutputSettings
b
)
73
{
74
return
(
XsOutputSettings
) ((
unsigned
long)
a
| (
unsigned
long
)
b
);
75
}
76
77
/*! \brief Allow logical and of XsOutputSettings to be a valid XsOutputSettings value */
78
inline
XsOutputSettings
operator & (
XsOutputSettings
a
,
XsOutputSettings
b
)
79
{
80
return
(
XsOutputSettings
) ((
unsigned
long)
a
& (
unsigned
long
)
b
);
81
}
82
83
/*! \brief Allow logical inversion of XsOutputSettings to be a valid XsOutputSettings value */
84
inline
XsOutputSettings
operator ~
(
XsOutputSettings
a
)
85
{
86
return
(
XsOutputSettings
) ~((
unsigned
long)
a
);
87
}
88
89
/*! \brief Allow &= operator on XsOutputSettings */
90
inline
XsOutputSettings
& operator &= (
XsOutputSettings
& left,
XsOutputSettings
const
& right)
91
{
92
return
left = left & right;
93
}
94
95
/*! \brief Allow |= operator on XsOutputSettings */
96
inline
XsOutputSettings
& operator |= (
XsOutputSettings
& left,
XsOutputSettings
const
& right)
97
{
98
return
left = left | right;
99
}
100
101
#endif
102
103
#endif // file guard
XOS_Timestamp_None
Definition:
xsoutputsettings.h:18
XOS_Status_Compact
Definition:
xsoutputsettings.h:37
XOS_CalibratedMode_GyrOnly
Definition:
xsoutputsettings.h:33
XOS_PositionMode_Lla_Wgs84
Definition:
xsoutputsettings.h:51
XOS_OrientationMode_Mask
Definition:
xsoutputsettings.h:21
XOS_CalibratedMode_GyrMagOnly
Definition:
xsoutputsettings.h:34
XOS_CalibratedMode_Acc_Mask
Definition:
xsoutputsettings.h:28
XOS_Dataformat_Mask
Definition:
xsoutputsettings.h:39
XOS_Dataformat_Fp1632
Definition:
xsoutputsettings.h:42
XOS_CalibratedMode_Gyr_Mask
Definition:
xsoutputsettings.h:32
XOS_CalibratedMode_AccGyrMag_Mask
Definition:
xsoutputsettings.h:26
XOS_PositionMode_Mask
Definition:
xsoutputsettings.h:50
XOS_Dataformat_Float
Definition:
xsoutputsettings.h:40
XOS_Status_Detailed
Definition:
xsoutputsettings.h:38
XOS_Dataformat_F1220
Definition:
xsoutputsettings.h:41
XOS_CalibratedMode_AccMagOnly
Definition:
xsoutputsettings.h:31
XOS_Timestamp_PacketCounter
Definition:
xsoutputsettings.h:19
XOS_VelocityMode_Mask
Definition:
xsoutputsettings.h:52
XOS_OrientationMode_Quaternion
Definition:
xsoutputsettings.h:22
b
GLubyte GLubyte b
Definition:
glext.h:5575
XOS_AuxiliaryMode_Ain2_Mask
Definition:
xsoutputsettings.h:47
XOS_AuxiliaryMode_Ain1_Mask
Definition:
xsoutputsettings.h:46
XOS_AuxiliaryMode_Mask
Definition:
xsoutputsettings.h:45
XOS_VelocityMode_Ms_Xyz
Definition:
xsoutputsettings.h:53
XsOutputSettings
XsOutputSettings
Bit values for output settings.
Definition:
xsoutputsettings.h:16
XOS_CalibratedMode_AccGyrOnly
Definition:
xsoutputsettings.h:30
XOS_AuxiliaryMode_Ain2
Definition:
xsoutputsettings.h:49
XOS_CalibratedMode_All
Definition:
xsoutputsettings.h:25
XOS_GpsInGpsPvt
Definition:
xsoutputsettings.h:54
XOS_AuxiliaryMode_Ain1
Definition:
xsoutputsettings.h:48
XOS_Timestamp_SampleUtc
Definition:
xsoutputsettings.h:20
XOS_Dataformat_Double
Definition:
xsoutputsettings.h:43
XOS_CalibratedMode_MagOnly
Definition:
xsoutputsettings.h:36
mrpt::math::operator~
const Eigen::MatrixBase< Derived >::AdjointReturnType operator~(const Eigen::MatrixBase< Derived > &m)
Transpose operator for matrices.
Definition:
ops_matrices.h:32
XOS_OrientationMode_Euler
Definition:
xsoutputsettings.h:23
XOS_CalibratedMode_AccOnly
Definition:
xsoutputsettings.h:29
XOS_Coordinates_Ned
Definition:
xsoutputsettings.h:57
XOS_NoGpsInGpsPvt
Definition:
xsoutputsettings.h:55
XOS_CalibratedMode_Mag_Mask
Definition:
xsoutputsettings.h:35
a
GLubyte GLubyte GLubyte a
Definition:
glext.h:5575
XOS_ExtendedTemperature_Mask
Definition:
xsoutputsettings.h:56
XOS_OrientationMode_Matrix
Definition:
xsoutputsettings.h:24
XOS_Timestamp_Mask
Definition:
xsoutputsettings.h:17
XOS_CalibratedMode_Mask
Definition:
xsoutputsettings.h:27
Page generated by
Doxygen 1.8.14
for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020