Main MRPT website
>
C++ reference for MRPT 1.9.9
xSens_MT4
xstypes
include
xsens
xsrssi.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 XSRSSI_H
10
#define XSRSSI_H
11
12
#include "
xstypesconfig.h
"
13
14
#define XS_RSSI_MAX (128)
15
#define XS_RSSI_UNKNOWN (-XS_RSSI_MAX)
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
XSTYPES_DLL_API
int
XsRssi_max
();
22
XSTYPES_DLL_API
int
XsRssi_unknown
();
23
XSTYPES_DLL_API
int
XsRssi_unbiased
(
int
raw);
24
25
#ifdef __cplusplus
26
}
// extern "C"
27
namespace
XsRssi
28
{
29
/*! \brief The maximum RSSI value. */
30
static
const
int
max =
XS_RSSI_MAX
;
31
/*! \brief The RSSI value that was reserved for when the RSSI is unknown. */
32
static
const
int
unknown =
XS_RSSI_UNKNOWN
;
33
/*! \copydoc XsRssi_unbiased */
34
inline
int
unbiased(
int
raw) {
return
XsRssi_unbiased
(raw); }
35
}
36
#endif
37
38
#endif // file guard
XsRssi_max
XSTYPES_DLL_API int XsRssi_max()
XsRssi_unknown
XSTYPES_DLL_API int XsRssi_unknown()
XS_RSSI_UNKNOWN
#define XS_RSSI_UNKNOWN
Definition:
xsrssi.h:15
XsRssi_unbiased
XSTYPES_DLL_API int XsRssi_unbiased(int raw)
xstypesconfig.h
XSTYPES_DLL_API
#define XSTYPES_DLL_API
Definition:
xstypesconfig.h:9
XS_RSSI_MAX
#define XS_RSSI_MAX
Definition:
xsrssi.h:14
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