Main MRPT website
>
C++ reference for MRPT 1.5.7
xSens_MT4
xstypes
include
xsens
xsoutputmode.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 XSOUTPUTMODE_H
10
#define XSOUTPUTMODE_H
11
12
/*! \addtogroup enums Global enumerations
13
@{
14
*/
15
//! Bit values for legacy output mode
16
enum
XsOutputMode
{
17
XOM_None
= 0x0000,
18
XOM_Temperature
= 0x0001,
19
XOM_Calibrated
= 0x0002,
20
XOM_Orientation
= 0x0004,
21
XOM_Auxiliary
= 0x0008,
22
XOM_Position
= 0x0010,
23
XOM_Velocity
= 0x0020,
24
XOM_Sdi
= 0x0200,
25
XOM_Status
= 0x0800,
26
XOM_GpsPvt_Pressure
= 0x1000,
27
XOM_Reserved
= 0x2000,
28
XOM_Raw
= 0x4000,
29
XOM_Mt9
= 0x8000
30
};
31
/*! @} */
32
typedef
enum
XsOutputMode
XsOutputMode
;
33
34
// Extended (analog) Output Modes
35
#define XS_EXTOUTPUTMODE_DISABLED 0x0000
36
#define XS_EXTOUTPUTMODE_EULER 0x0001
37
38
#define XS_DEFAULT_OUTPUT_MODE XOM_Orientation
39
40
#ifdef __cplusplus
41
/*! \brief Allow logical or of XsOutputMode to be a valid XsOutputMode value */
42
inline
XsOutputMode
operator | (
XsOutputMode
a
,
XsOutputMode
b
)
43
{
44
return
(
XsOutputMode
) ((
unsigned
short)
a
| (
unsigned
short
)
b
);
45
}
46
47
/*! \brief Allow logical and of XsOutputMode to be a valid XsOutputMode value */
48
inline
XsOutputMode
operator & (
XsOutputMode
a
,
XsOutputMode
b
)
49
{
50
return
(
XsOutputMode
) ((
unsigned
short)
a
& (
unsigned
short
)
b
);
51
}
52
53
/*! \brief Allow logical inversion of XsOutputMode to be a valid XsOutputMode value */
54
inline
XsOutputMode
operator ~
(
XsOutputMode
a
)
55
{
56
return
(
XsOutputMode
) ~((
unsigned
short)
a
);
57
}
58
#endif
59
60
#endif // XSOUTPUTMODE_H
XsOutputMode
XsOutputMode
Bit values for legacy output mode.
Definition:
xsoutputmode.h:16
XOM_Velocity
Definition:
xsoutputmode.h:23
XOM_Status
Definition:
xsoutputmode.h:25
XOM_Sdi
Definition:
xsoutputmode.h:24
XOM_Temperature
Definition:
xsoutputmode.h:18
XOM_Position
Definition:
xsoutputmode.h:22
XOM_Raw
Definition:
xsoutputmode.h:28
XOM_Auxiliary
Definition:
xsoutputmode.h:21
b
GLubyte GLubyte b
Definition:
glext.h:5575
XOM_Calibrated
Definition:
xsoutputmode.h:19
XOM_GpsPvt_Pressure
Definition:
xsoutputmode.h:26
XOM_None
Definition:
xsoutputmode.h:17
XOM_Reserved
Definition:
xsoutputmode.h:27
XOM_Orientation
Definition:
xsoutputmode.h:20
XOM_Mt9
Definition:
xsoutputmode.h:29
mrpt::math::operator~
const Eigen::MatrixBase< Derived >::AdjointReturnType operator~(const Eigen::MatrixBase< Derived > &m)
Transpose operator for matrices.
Definition:
ops_matrices.h:32
a
GLubyte GLubyte GLubyte a
Definition:
glext.h:5575
Page generated by
Doxygen 1.8.14
for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019