network_of_poses.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 
14 #pragma once
15 
16 #include <mrpt_msgs/NetworkOfPoses.h>
17 #include <mrpt/graphs/CNetworkOfPoses.h>
18 
19 namespace mrpt_bridge
20 {
28 // TODO - convert these methods into a common polymorphic method
29 void convert(
30  const mrpt::graphs::CNetworkOfPoses2D& mrpt_graph,
31  mrpt_msgs::NetworkOfPoses& ros_graph);
32 
33 void convert(
34  const mrpt::graphs::CNetworkOfPoses3D& mrpt_graph,
35  mrpt_msgs::NetworkOfPoses& ros_graph);
36 
37 void convert(
38  const mrpt::graphs::CNetworkOfPoses2DInf& mrpt_graph,
39  mrpt_msgs::NetworkOfPoses& ros_graph);
40 
41 void convert(
42  const mrpt::graphs::CNetworkOfPoses3DInf& mrpt_graph,
43  mrpt_msgs::NetworkOfPoses& ros_graph);
44 
45 void convert(
46  const mrpt::graphs::CNetworkOfPoses2DInf_NA& mrpt_graph,
47  mrpt_msgs::NetworkOfPoses& ros_graph);
48 
49 void convert(
50  const mrpt::graphs::CNetworkOfPoses3DInf_NA& mrpt_graph,
51  mrpt_msgs::NetworkOfPoses& ros_graph);
52 
55 
63 void convert(
64  const mrpt::graphs::CNetworkOfPoses2D& mrpt_graph,
65  mrpt_msgs::NetworkOfPoses& ros_graph);
66 
67 void convert(
68  const mrpt::graphs::CNetworkOfPoses3D& mrpt_graph,
69  mrpt_msgs::NetworkOfPoses& ros_graph);
70 
71 void convert(
72  const mrpt_msgs::NetworkOfPoses& ros_graph,
73  mrpt::graphs::CNetworkOfPoses2DInf& mrpt_graph);
74 
75 void convert(
76  const mrpt_msgs::NetworkOfPoses& ros_graph,
77  mrpt::graphs::CNetworkOfPoses3DInf& mrpt_graph);
78 
79 void convert(
80  const mrpt_msgs::NetworkOfPoses& ros_graph,
81  mrpt::graphs::CNetworkOfPoses2DInf_NA& mrpt_graph);
82 
83 void convert(
84  const mrpt_msgs::NetworkOfPoses& ros_graph,
85  mrpt::graphs::CNetworkOfPoses3DInf_NA& mrpt_graph);
86 
89 } // namespace mrpt_bridge
mrpt_bridge::convert
bool convert(const mrpt_msgs::ObservationRangeBeacon &_msg, const mrpt::poses::CPose3D &_pose, mrpt::obs::CObservationBeaconRanges &_obj)
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