Main MRPT website > C++ reference for MRPT 1.5.9
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
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,
27  XOM_Reserved = 0x2000,
28  XOM_Raw = 0x4000,
29  XOM_Mt9 = 0x8000
30 };
31 /*! @} */
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 */
55 {
56  return (XsOutputMode) ~((unsigned short)a);
57 }
58 #endif
59 
60 #endif // XSOUTPUTMODE_H
XsOutputMode
Bit values for legacy output mode.
Definition: xsoutputmode.h:16
GLubyte GLubyte b
Definition: glext.h:5575
const Eigen::MatrixBase< Derived >::AdjointReturnType operator~(const Eigen::MatrixBase< Derived > &m)
Transpose operator for matrices.
Definition: ops_matrices.h:32
GLubyte GLubyte GLubyte a
Definition: glext.h:5575



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