Fixposition SDK
0.0.0-heads/main-0-g7b59b93
Collection of c++ libraries and apps for use with Fixposition products
Loading...
Searching...
No Matches
utils.hpp
Go to the documentation of this file.
1
/**
2
* \verbatim
3
* ___ ___
4
* \ \ / /
5
* \ \/ / Copyright (c) Fixposition AG
6
* / /\ \ License: see the LICENSE file
7
* /__/ \__\
8
* \endverbatim
9
*
10
* @file
11
* @brief Fixposition SDK: ROS2 utilities
12
*
13
* @page FPSDK_ROS2_UTILS ROS2 utilities
14
*
15
* **API**: fpsdk_ros2/utils.hpp and fpsdk::ros2::utils
16
*
17
*/
18
#ifndef __FPSDK_ROS2_UTILS_HPP__
19
#define __FPSDK_ROS2_UTILS_HPP__
20
21
/* LIBC/STL */
22
23
/* EXTERNAL */
24
25
/* Fixposition SDK */
26
27
/* PACKAGE */
28
29
namespace
fpsdk
{
30
namespace
ros2 {
31
/**
32
* @brief ROS2 utilities
33
*/
34
namespace
utils {
35
/* ****************************************************************************************************************** */
36
37
/**
38
* @brief Redirect fp:common::logging to ROS console
39
*
40
* This configures the fpsdk::common::logging facility to output via the ROS console. This does *not* configure the ROS
41
* console (logger level, logger name, etc.).
42
*
43
* The mapping of fpsdk::common::logging::LoggingLevel to ros::console::levels is as follows:
44
*
45
* - TRACE and DEBUG --> DEBUG
46
* - INFO and NOTICE --> INFO
47
* - WARNING --> WARN
48
* - ERROR --> ERROR
49
* - FATAL --> FATAL
50
*/
51
void
RedirectLoggingToRosConsole
();
52
53
/* ****************************************************************************************************************** */
54
}
// namespace utils
55
}
// namespace ros2
56
}
// namespace fpsdk
57
#endif
// __FPSDK_ROS2_UTILS_HPP__
fpsdk::ros2::utils::RedirectLoggingToRosConsole
void RedirectLoggingToRosConsole()
Redirect fp:common::logging to ROS console.
fpsdk
Fixposition SDK.
Definition
fpsdk_doc.hpp:20
fpsdk_ros2
include
fpsdk_ros2
utils.hpp
Generated on Thu Nov 7 2024 20:57:20 for Fixposition SDK by
1.11.0