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
75  mrpt::obs::CObservationBeaconRanges& _obj
76 #else
77  mrpt::slam::CObservationBeaconRanges& _obj
78 #endif
79 );
80 
85 bool convert(
86 #if MRPT_VERSION >= 0x130
87  const mrpt::obs::CObservationBeaconRanges& _obj,
88 #else
89  const mrpt::slam::CObservationBeaconRanges& _obj,
90 #endif
92 
98 bool convert(
99 #if MRPT_VERSION >= 0x130
100  const mrpt::obs::CObservationBeaconRanges& _obj,
101 #else
102  const mrpt::slam::CObservationBeaconRanges& _obj,
103 #endif
105 
108 } // namespace mrpt_bridge
geometry_msgs::Pose
Pose_< std::allocator< void > > Pose
Definition: include/mrpt_bridge/beacon.h:24
geometry_msgs
mrpt_msgs::ObservationRangeBeacon
ObservationRangeBeacon_< std::allocator< void > > ObservationRangeBeacon
Definition: include/mrpt_bridge/beacon.h:31
mrpt
Definition: include/mrpt_bridge/beacon.h:35
mrpt_msgs::ObservationRangeBeacon_
Definition: include/mrpt_bridge/beacon.h:31
geometry_msgs::Pose_
Definition: include/mrpt_bridge/beacon.h:24
mrpt_msgs
Definition: include/mrpt_bridge/beacon.h:28
mrpt_bridge::convert
bool convert(const mrpt_msgs::ObservationRangeBeacon &_msg, const mrpt::poses::CPose3D &_pose, mrpt::obs::CObservationBeaconRanges &_obj)
std
mrpt_bridge
File includes methods for converting CNetworkOfPoses*DInf <=> NetworkOfPoses message types.
Definition: include/mrpt_bridge/beacon.h:52


mrpt_bridge
Author(s): Markus Bader , Raphael Zack
autogenerated on Sun Mar 6 2022 03:48:10