pose.h
Go to the documentation of this file.
1 #ifndef MRPT_BRIDGE_POSE_H
2 #define MRPT_BRIDGE_POSE_H
3 
4 #include <cstring> // size_t
5 
6 namespace std
7 {
8 template <class T>
9 class allocator;
10 }
11 
12 namespace tf
13 {
14 class Transform;
15 class Matrix3x3;
16 }
17 
18 namespace geometry_msgs
19 {
20 template <class ContainerAllocator>
21 struct Pose_;
22 typedef Pose_<std::allocator<void>> Pose;
23 template <class ContainerAllocator>
26 template <class ContainerAllocator>
27 struct Quaternion_;
29 }
30 
31 namespace mrpt
32 {
33 namespace math
34 {
35 template <class T>
37 template <typename T, size_t NROWS, size_t NCOLS>
40 struct TPose3D;
41 struct TPose2D;
42 }
43 namespace poses
44 {
45 class CPose2D;
46 class CPose3D;
47 class CPosePDFGaussian;
48 class CPosePDFGaussianInf;
49 class CPose3DPDFGaussian;
50 class CPose3DPDFGaussianInf;
52 }
53 }
54 
55 namespace mrpt_bridge
56 {
62  const mrpt::math::CMatrixDouble33& _src, tf::Matrix3x3& _des);
63 
65 tf::Transform& convert(const mrpt::poses::CPose3D& _src, tf::Transform& _des);
66 
68 tf::Transform& convert(const mrpt::math::TPose3D& _src, tf::Transform& _des);
70 tf::Transform& convert(const mrpt::poses::CPose2D& _src, tf::Transform& _des);
72 tf::Transform& convert(const mrpt::math::TPose2D& _src, tf::Transform& _des);
73 
76  const mrpt::poses::CPose3D& _src, geometry_msgs::Pose& _des);
77 
80  const mrpt::poses::CPose2D& _src, geometry_msgs::Pose& _des);
81 
84  const mrpt::poses::CPose3DPDFGaussian& _src,
86 
90  const mrpt::poses::CPose3DPDFGaussianInf& _src,
92 
95  const mrpt::poses::CPose3DPDFGaussian& _src, tf::Transform& _des);
96 
100  const mrpt::poses::CPosePDFGaussian& _src,
102 
106  const mrpt::poses::CPosePDFGaussianInf& _src,
108 
111  const mrpt::poses::CQuaternionDouble& _src,
113 
120 mrpt::poses::CPose3D& convert(
121  const tf::Transform& _src, mrpt::poses::CPose3D& _des);
122 
125  const tf::Matrix3x3& _src, mrpt::math::CMatrixDouble33& _des);
126 
128 mrpt::poses::CPose2D& convert(
129  const geometry_msgs::Pose& _src, mrpt::poses::CPose2D& _des);
130 
132 mrpt::poses::CPose3D& convert(
133  const geometry_msgs::Pose& _src, mrpt::poses::CPose3D& _des);
134 
136 mrpt::poses::CPose3DPDFGaussian& convert(
138  mrpt::poses::CPose3DPDFGaussian& _des);
139 
142 mrpt::poses::CPose3DPDFGaussianInf& convert(
144  mrpt::poses::CPose3DPDFGaussianInf& _des);
145 
148 mrpt::poses::CPosePDFGaussian& convert(
150  mrpt::poses::CPosePDFGaussian& _des);
151 
154 mrpt::poses::CPosePDFGaussianInf& convert(
156  mrpt::poses::CPosePDFGaussianInf& _des);
157 
160  const geometry_msgs::Quaternion& _src,
162 
164 }
165 
166 #endif /* MRPT_BRIDGE_POSE_H */
PoseWithCovariance_< std::allocator< void > > PoseWithCovariance
Definition: pose.h:24
Quaternion_< std::allocator< void > > Quaternion
Definition: pose.h:27
CMatrixFixedNumeric< double, 3, 3 > CMatrixDouble33
Definition: pose.h:38
math::CQuaternion< double > CQuaternionDouble
Definition: pose.h:50
File includes methods for converting CNetworkOfPoses*DInf <=> NetworkOfPoses message types...
mrpt::poses::CQuaternionDouble & convert(const geometry_msgs::Quaternion &_src, mrpt::poses::CQuaternionDouble &_des)
Definition: pose.cpp:304


mrpt_bridge
Author(s): Markus Bader , Raphael Zack
autogenerated on Sat Apr 28 2018 02:49:17