src/beacon.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 
10 #pragma once
11 
12 #include <cstdint>
13 #include <string>
14 
15 namespace std
16 {
17 template <class T>
18 class allocator;
19 }
20 
21 namespace geometry_msgs
22 {
23 template <class ContainerAllocator>
24 struct Pose_;
25 typedef Pose_<std::allocator<void>> Pose;
26 } // namespace geometry_msgs
27 
28 namespace mrpt_msgs
29 {
30 template <class ContainerAllocator>
31 struct ObservationRangeBeacon_;
32 typedef ObservationRangeBeacon_<std::allocator<void>> ObservationRangeBeacon;
33 } // namespace mrpt_msgs
34 
35 namespace mrpt
36 {
37 namespace poses
38 {
39 class CPose3D;
40 }
41 } // namespace mrpt
42 #include <mrpt/version.h>
43 #if MRPT_VERSION >= 0x130
44 namespace mrpt
45 {
46 namespace obs
47 {
48 class CObservationBeaconRanges;
49 }
50 } // namespace mrpt
51 #else
52 namespace mrpt
53 {
54 namespace slam
55 {
56 class CObservationBeaconRanges;
57 }
58 } // namespace mrpt
59 #endif
60 
61 namespace mrpt_bridge
62 {
71 bool convert(
73  const mrpt::poses::CPose3D& _pose,
74 #if MRPT_VERSION >= 0x130
76 #else
77  mrpt::slam::CObservationBeaconRanges& _obj
78 #endif
79 );
80 
85 bool convert(
86 #if MRPT_VERSION >= 0x130
88 #else
89  const mrpt::slam::CObservationBeaconRanges& _obj,
90 #endif
92 
98 bool convert(
99 #if MRPT_VERSION >= 0x130
101 #else
102  const mrpt::slam::CObservationBeaconRanges& _obj,
103 #endif
105 
108 } // namespace mrpt_bridge
bool convert(const mrpt::slam::CObservationBeaconRanges &_obj, mrpt_msgs::ObservationRangeBeacon &_msg, geometry_msgs::Pose &_pose)
File includes methods for converting CNetworkOfPoses*DInf <=> NetworkOfPoses message types...
obs
ObservationRangeBeacon_< std::allocator< void > > ObservationRangeBeacon


mrpt_bridge
Author(s): Markus Bader , Raphael Zack
autogenerated on Fri Feb 28 2020 03:22:14