PoseWithCovariance.h
Go to the documentation of this file.
1 // Generated by gencpp from file geometry_msgs/PoseWithCovariance.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCE_H
6 #define GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCE_H
7 
8 
9 #include <string>
10 #include <vector>
11 #include <map>
12 
13 #include <ros/types.h>
14 #include <ros/serialization.h>
16 #include <ros/message_operations.h>
17 
18 #include <geometry_msgs/Pose.h>
19 
20 namespace geometry_msgs
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : pose()
29  , covariance() {
30  covariance.fill(0.0);
31  }
32  PoseWithCovariance_(const ContainerAllocator& _alloc)
33  : pose(_alloc)
34  , covariance() {
35  (void)_alloc;
36  covariance.fill(0.0);
37  }
38 
39 
40 
41  typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type;
42  _pose_type pose;
43 
44  typedef std::array<double, 36> _covariance_type;
45  _covariance_type covariance;
46 
47 
48 
49 
50  typedef std::shared_ptr< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> > Ptr;
51  typedef std::shared_ptr< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> const> ConstPtr;
52 
53 }; // struct PoseWithCovariance_
54 
55 typedef ::geometry_msgs::PoseWithCovariance_<std::allocator<void> > PoseWithCovariance;
56 
57 typedef std::shared_ptr< ::geometry_msgs::PoseWithCovariance > PoseWithCovariancePtr;
58 typedef std::shared_ptr< ::geometry_msgs::PoseWithCovariance const> PoseWithCovarianceConstPtr;
59 
60 // constants requiring out of line definition
61 
62 
63 
64 template<typename ContainerAllocator>
65 std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> & v)
66 {
68 return s;
69 }
70 
71 } // namespace geometry_msgs
72 
73 namespace rs2rosinternal
74 {
75 namespace message_traits
76 {
77 
78 
79 
80 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
81 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/tmp/binarydeb/ros-kinetic-geometry-msgs-1.12.5/msg']}
82 
83 // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
84 
85 
86 
87 
88 template <class ContainerAllocator>
89 struct IsFixedSize< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
90  : TrueType
91  { };
92 
93 template <class ContainerAllocator>
94 struct IsFixedSize< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> const>
95  : TrueType
96  { };
97 
98 template <class ContainerAllocator>
99 struct IsMessage< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
100  : TrueType
101  { };
102 
103 template <class ContainerAllocator>
104 struct IsMessage< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> const>
105  : TrueType
106  { };
107 
108 template <class ContainerAllocator>
109 struct HasHeader< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
110  : FalseType
111  { };
112 
113 template <class ContainerAllocator>
114 struct HasHeader< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> const>
115  : FalseType
116  { };
117 
118 
119 template<class ContainerAllocator>
120 struct MD5Sum< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
121 {
122  static const char* value()
123  {
124  return "c23e848cf1b7533a8d7c259073a97e6f";
125  }
126 
127  static const char* value(const ::geometry_msgs::PoseWithCovariance_<ContainerAllocator>&) { return value(); }
128  static const uint64_t static_value1 = 0xc23e848cf1b7533aULL;
129  static const uint64_t static_value2 = 0x8d7c259073a97e6fULL;
130 };
131 
132 template<class ContainerAllocator>
133 struct DataType< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
134 {
135  static const char* value()
136  {
137  return "geometry_msgs/PoseWithCovariance";
138  }
139 
140  static const char* value(const ::geometry_msgs::PoseWithCovariance_<ContainerAllocator>&) { return value(); }
141 };
142 
143 template<class ContainerAllocator>
144 struct Definition< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
145 {
146  static const char* value()
147  {
148  return "# This represents a pose in free space with uncertainty.\n\
149 \n\
150 Pose pose\n\
151 \n\
152 # Row-major representation of the 6x6 covariance matrix\n\
153 # The orientation parameters use a fixed-axis representation.\n\
154 # In order, the parameters are:\n\
155 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
156 float64[36] covariance\n\
157 \n\
158 ================================================================================\n\
159 MSG: geometry_msgs/Pose\n\
160 # A representation of pose in free space, composed of position and orientation. \n\
161 Point position\n\
162 Quaternion orientation\n\
163 \n\
164 ================================================================================\n\
165 MSG: geometry_msgs/Point\n\
166 # This contains the position of a point in free space\n\
167 float64 x\n\
168 float64 y\n\
169 float64 z\n\
170 \n\
171 ================================================================================\n\
172 MSG: geometry_msgs/Quaternion\n\
173 # This represents an orientation in free space in quaternion form.\n\
174 \n\
175 float64 x\n\
176 float64 y\n\
177 float64 z\n\
178 float64 w\n\
179 ";
180  }
181 
182  static const char* value(const ::geometry_msgs::PoseWithCovariance_<ContainerAllocator>&) { return value(); }
183 };
184 
185 } // namespace message_traits
186 } // namespace rs2rosinternal
187 
188 namespace rs2rosinternal
189 {
190 namespace serialization
191 {
192 
193  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
194  {
195  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
196  {
197  stream.next(m.pose);
198  stream.next(m.covariance);
199  }
200 
202  }; // struct PoseWithCovariance_
203 
204 } // namespace serialization
205 } // namespace rs2rosinternal
206 
207 namespace rs2rosinternal
208 {
209 namespace message_operations
210 {
211 
212 template<class ContainerAllocator>
213 struct Printer< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
214 {
215  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::PoseWithCovariance_<ContainerAllocator>& v)
216  {
217  s << indent << "pose: ";
218  s << std::endl;
220  s << indent << "covariance[]" << std::endl;
221  for (size_t i = 0; i < v.covariance.size(); ++i)
222  {
223  s << indent << " covariance[" << i << "]: ";
224  Printer<double>::stream(s, indent + " ", v.covariance[i]);
225  }
226  }
227 };
228 
229 } // namespace message_operations
230 } // namespace rs2rosinternal
231 
232 #endif // GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCE_H
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > &v)
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLdouble s
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLsizei const GLchar *const * string
Specialize to provide the datatype for a message.
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
GLuint GLuint stream
Definition: glext.h:1790
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Stream base-class, provides common functionality for IStream and OStream.
static const char * value(const ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > &)
static const char * value(const ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > &)
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
Definition: stdint.h:90
Specialize to provide the definition for a message.
std::shared_ptr< ::geometry_msgs::PoseWithCovariance const > PoseWithCovarianceConstPtr
PoseWithCovariance_< ContainerAllocator > Type
::geometry_msgs::PoseWithCovariance_< std::allocator< void > > PoseWithCovariance
std::shared_ptr< ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > > Ptr
std::shared_ptr< ::geometry_msgs::PoseWithCovariance > PoseWithCovariancePtr
static const char * value(const ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > &)
::geometry_msgs::Pose_< ContainerAllocator > _pose_type
PoseWithCovariance_(const ContainerAllocator &_alloc)
int i
std::array< double, 36 > _covariance_type
std::shared_ptr< ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > const > ConstPtr
Templated serialization class. Default implementation provides backwards compatibility with old messa...
GLdouble v


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:39