Odometry.h
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 // Generated by gencpp from file nav_msgs/Odometry.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef NAV_MSGS_MESSAGE_ODOMETRY_H
7 #define NAV_MSGS_MESSAGE_ODOMETRY_H
8 
9 
10 #include <string>
11 #include <vector>
12 #include <map>
13 
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
18 
19 #include <std_msgs/Header.h>
22 
23 namespace nav_msgs
24 {
25 template <class ContainerAllocator>
26 struct Odometry_
27 {
29 
31  : header()
32  , child_frame_id()
33  , pose()
34  , twist() {
35  }
36  Odometry_(const ContainerAllocator& _alloc)
37  : header(_alloc)
38  , child_frame_id(_alloc)
39  , pose(_alloc)
40  , twist(_alloc) {
41  (void)_alloc;
42  }
43 
44 
45 
46  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
48 
49  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _child_frame_id_type;
51 
52  typedef ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> _pose_type;
54 
55  typedef ::geometry_msgs::TwistWithCovariance_<ContainerAllocator> _twist_type;
57 
58 
59 
60 
61 
62  typedef std::shared_ptr< ::nav_msgs::Odometry_<ContainerAllocator> > Ptr;
63  typedef std::shared_ptr< ::nav_msgs::Odometry_<ContainerAllocator> const> ConstPtr;
64 
65 }; // struct Odometry_
66 
67 typedef ::nav_msgs::Odometry_<std::allocator<void> > Odometry;
68 
69 typedef std::shared_ptr< ::nav_msgs::Odometry > OdometryPtr;
70 typedef std::shared_ptr< ::nav_msgs::Odometry const> OdometryConstPtr;
71 
72 // constants requiring out of line definition
73 
74 
75 
76 template<typename ContainerAllocator>
77 std::ostream& operator<<(std::ostream& s, const ::nav_msgs::Odometry_<ContainerAllocator> & v)
78 {
80 return s;
81 }
82 
83 
84 template<typename ContainerAllocator1, typename ContainerAllocator2>
85 bool operator==(const ::nav_msgs::Odometry_<ContainerAllocator1> & lhs, const ::nav_msgs::Odometry_<ContainerAllocator2> & rhs)
86 {
87  return lhs.header == rhs.header &&
88  lhs.child_frame_id == rhs.child_frame_id &&
89  lhs.pose == rhs.pose &&
90  lhs.twist == rhs.twist;
91 }
92 
93 template<typename ContainerAllocator1, typename ContainerAllocator2>
94 bool operator!=(const ::nav_msgs::Odometry_<ContainerAllocator1> & lhs, const ::nav_msgs::Odometry_<ContainerAllocator2> & rhs)
95 {
96  return !(lhs == rhs);
97 }
98 
99 
100 } // namespace nav_msgs
101 
102 namespace roswrap
103 {
104 namespace message_traits
105 {
106 
107 
108 
109 
110 
111 template <class ContainerAllocator>
112 struct IsFixedSize< ::nav_msgs::Odometry_<ContainerAllocator> >
113  : FalseType
114  { };
115 
116 template <class ContainerAllocator>
117 struct IsFixedSize< ::nav_msgs::Odometry_<ContainerAllocator> const>
118  : FalseType
119  { };
120 
121 template <class ContainerAllocator>
122 struct IsMessage< ::nav_msgs::Odometry_<ContainerAllocator> >
123  : TrueType
124  { };
125 
126 template <class ContainerAllocator>
127 struct IsMessage< ::nav_msgs::Odometry_<ContainerAllocator> const>
128  : TrueType
129  { };
130 
131 template <class ContainerAllocator>
132 struct HasHeader< ::nav_msgs::Odometry_<ContainerAllocator> >
133  : TrueType
134  { };
135 
136 template <class ContainerAllocator>
137 struct HasHeader< ::nav_msgs::Odometry_<ContainerAllocator> const>
138  : TrueType
139  { };
140 
141 
142 template<class ContainerAllocator>
143 struct MD5Sum< ::nav_msgs::Odometry_<ContainerAllocator> >
144 {
145  static const char* value()
146  {
147  return "cd5e73d190d741a2f92e81eda573aca7";
148  }
149 
150  static const char* value(const ::nav_msgs::Odometry_<ContainerAllocator>&) { return value(); }
151  static const uint64_t static_value1 = 0xcd5e73d190d741a2ULL;
152  static const uint64_t static_value2 = 0xf92e81eda573aca7ULL;
153 };
154 
155 template<class ContainerAllocator>
156 struct DataType< ::nav_msgs::Odometry_<ContainerAllocator> >
157 {
158  static const char* value()
159  {
160  return "nav_msgs/Odometry";
161  }
162 
163  static const char* value(const ::nav_msgs::Odometry_<ContainerAllocator>&) { return value(); }
164 };
165 
166 template<class ContainerAllocator>
167 struct Definition< ::nav_msgs::Odometry_<ContainerAllocator> >
168 {
169  static const char* value()
170  {
171  return "# This represents an estimate of a position and velocity in free space. \n"
172 "# The pose in this message should be specified in the coordinate frame given by header.frame_id.\n"
173 "# The twist in this message should be specified in the coordinate frame given by the child_frame_id\n"
174 "Header header\n"
175 "string child_frame_id\n"
176 "geometry_msgs/PoseWithCovariance pose\n"
177 "geometry_msgs/TwistWithCovariance twist\n"
178 "\n"
179 "================================================================================\n"
180 "MSG: std_msgs/Header\n"
181 "# Standard metadata for higher-level stamped data types.\n"
182 "# This is generally used to communicate timestamped data \n"
183 "# in a particular coordinate frame.\n"
184 "# \n"
185 "# sequence ID: consecutively increasing ID \n"
186 "uint32 seq\n"
187 "#Two-integer timestamp that is expressed as:\n"
188 "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
189 "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
190 "# time-handling sugar is provided by the client library\n"
191 "time stamp\n"
192 "#Frame this data is associated with\n"
193 "string frame_id\n"
194 "\n"
195 "================================================================================\n"
196 "MSG: geometry_msgs/PoseWithCovariance\n"
197 "# This represents a pose in free space with uncertainty.\n"
198 "\n"
199 "Pose pose\n"
200 "\n"
201 "# Row-major representation of the 6x6 covariance matrix\n"
202 "# The orientation parameters use a fixed-axis representation.\n"
203 "# In order, the parameters are:\n"
204 "# (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n"
205 "float64[36] covariance\n"
206 "\n"
207 "================================================================================\n"
208 "MSG: geometry_msgs/Pose\n"
209 "# A representation of pose in free space, composed of position and orientation. \n"
210 "Point position\n"
211 "Quaternion orientation\n"
212 "\n"
213 "================================================================================\n"
214 "MSG: geometry_msgs/Point\n"
215 "# This contains the position of a point in free space\n"
216 "float64 x\n"
217 "float64 y\n"
218 "float64 z\n"
219 "\n"
220 "================================================================================\n"
221 "MSG: geometry_msgs/Quaternion\n"
222 "# This represents an orientation in free space in quaternion form.\n"
223 "\n"
224 "float64 x\n"
225 "float64 y\n"
226 "float64 z\n"
227 "float64 w\n"
228 "\n"
229 "================================================================================\n"
230 "MSG: geometry_msgs/TwistWithCovariance\n"
231 "# This expresses velocity in free space with uncertainty.\n"
232 "\n"
233 "Twist twist\n"
234 "\n"
235 "# Row-major representation of the 6x6 covariance matrix\n"
236 "# The orientation parameters use a fixed-axis representation.\n"
237 "# In order, the parameters are:\n"
238 "# (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n"
239 "float64[36] covariance\n"
240 "\n"
241 "================================================================================\n"
242 "MSG: geometry_msgs/Twist\n"
243 "# This expresses velocity in free space broken into its linear and angular parts.\n"
244 "Vector3 linear\n"
245 "Vector3 angular\n"
246 "\n"
247 "================================================================================\n"
248 "MSG: geometry_msgs/Vector3\n"
249 "# This represents a vector in free space. \n"
250 "# It is only meant to represent a direction. Therefore, it does not\n"
251 "# make sense to apply a translation to it (e.g., when applying a \n"
252 "# generic rigid transformation to a Vector3, tf2 will only apply the\n"
253 "# rotation). If you want your data to be translatable too, use the\n"
254 "# geometry_msgs/Point message instead.\n"
255 "\n"
256 "float64 x\n"
257 "float64 y\n"
258 "float64 z\n"
259 ;
260  }
261 
262  static const char* value(const ::nav_msgs::Odometry_<ContainerAllocator>&) { return value(); }
263 };
264 
265 } // namespace message_traits
266 } // namespace roswrap
267 
268 namespace roswrap
269 {
270 namespace serialization
271 {
272 
273  template<class ContainerAllocator> struct Serializer< ::nav_msgs::Odometry_<ContainerAllocator> >
274  {
275  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
276  {
277  stream.next(m.header);
278  stream.next(m.child_frame_id);
279  stream.next(m.pose);
280  stream.next(m.twist);
281  }
282 
284  }; // struct Odometry_
285 
286 } // namespace serialization
287 } // namespace roswrap
288 
289 namespace roswrap
290 {
291 namespace message_operations
292 {
293 
294 template<class ContainerAllocator>
295 struct Printer< ::nav_msgs::Odometry_<ContainerAllocator> >
296 {
297  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nav_msgs::Odometry_<ContainerAllocator>& v)
298  {
299  s << indent << "header: ";
300  s << std::endl;
302  s << indent << "child_frame_id: ";
303  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.child_frame_id);
304  s << indent << "pose: ";
305  s << std::endl;
307  s << indent << "twist: ";
308  s << std::endl;
310  }
311 };
312 
313 } // namespace message_operations
314 } // namespace roswrap
315 
316 #endif // NAV_MSGS_MESSAGE_ODOMETRY_H
roswrap::message_traits::DataType< ::nav_msgs::Odometry_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::Odometry_< ContainerAllocator > &)
Definition: Odometry.h:163
roswrap::message_traits::FalseType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:89
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
geometry_msgs::TwistWithCovariance_
Definition: TwistWithCovariance.h:24
nav_msgs::Odometry_::_header_type
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: Odometry.h:46
roswrap::message_operations::Printer< ::nav_msgs::Odometry_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::nav_msgs::Odometry_< ContainerAllocator > &v)
Definition: Odometry.h:297
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
roswrap::message_traits::HasHeader
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
Definition: message_traits.h:107
nav_msgs::Odometry_::Ptr
std::shared_ptr< ::nav_msgs::Odometry_< ContainerAllocator > > Ptr
Definition: Odometry.h:62
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
nav_msgs::Odometry_::ConstPtr
std::shared_ptr< ::nav_msgs::Odometry_< ContainerAllocator > const > ConstPtr
Definition: Odometry.h:63
nav_msgs::Odometry_::_twist_type
::geometry_msgs::TwistWithCovariance_< ContainerAllocator > _twist_type
Definition: Odometry.h:55
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
nav_msgs::Odometry_::twist
_twist_type twist
Definition: Odometry.h:56
roswrap::message_traits::IsFixedSize
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Definition: message_traits.h:103
nav_msgs::OdometryConstPtr
std::shared_ptr< ::nav_msgs::Odometry const > OdometryConstPtr
Definition: Odometry.h:70
ros::message_operations::Printer
ROS_DECLARE_ALLINONE_SERIALIZER
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Definition: serialization.h:74
nav_msgs::Odometry_::_child_frame_id_type
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _child_frame_id_type
Definition: Odometry.h:49
nav_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::nav_msgs::GetMapAction_< ContainerAllocator > &v)
Definition: GetMapAction.h:72
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
nav_msgs::Odometry
::nav_msgs::Odometry_< std::allocator< void > > Odometry
Definition: Odometry.h:67
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
roswrap::message_traits::Definition< ::nav_msgs::Odometry_< ContainerAllocator > >::value
static const char * value()
Definition: Odometry.h:169
nav_msgs::Odometry_::child_frame_id
_child_frame_id_type child_frame_id
Definition: Odometry.h:50
nav_msgs::Odometry_
Definition: Odometry.h:26
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
std_msgs::Header_
Definition: Header.h:23
geometry_msgs::PoseWithCovariance_
Definition: PoseWithCovariance.h:25
roswrap::serialization::Serializer< ::nav_msgs::Odometry_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: Odometry.h:275
nav_msgs::Odometry_::Type
Odometry_< ContainerAllocator > Type
Definition: Odometry.h:28
PoseWithCovariance.h
roswrap::message_traits::MD5Sum< ::nav_msgs::Odometry_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::Odometry_< ContainerAllocator > &)
Definition: Odometry.h:150
roswrap::message_traits::TrueType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:79
roswrap::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:118
nav_msgs
Definition: GetMap.h:16
roswrap::message_traits::MD5Sum< ::nav_msgs::Odometry_< ContainerAllocator > >::value
static const char * value()
Definition: Odometry.h:145
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
nav_msgs::Odometry_::pose
_pose_type pose
Definition: Odometry.h:53
nav_msgs::operator==
bool operator==(const ::nav_msgs::GetMapAction_< ContainerAllocator1 > &lhs, const ::nav_msgs::GetMapAction_< ContainerAllocator2 > &rhs)
Definition: GetMapAction.h:80
nav_msgs::Odometry_::Odometry_
Odometry_()
Definition: Odometry.h:30
nav_msgs::OdometryPtr
std::shared_ptr< ::nav_msgs::Odometry > OdometryPtr
Definition: Odometry.h:69
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
nav_msgs::Odometry_::header
_header_type header
Definition: Odometry.h:47
TwistWithCovariance.h
roswrap::message_traits::Definition< ::nav_msgs::Odometry_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::Odometry_< ContainerAllocator > &)
Definition: Odometry.h:262
nav_msgs::Odometry_::_pose_type
::geometry_msgs::PoseWithCovariance_< ContainerAllocator > _pose_type
Definition: Odometry.h:52
Header.h
nav_msgs::operator!=
bool operator!=(const ::nav_msgs::GetMapAction_< ContainerAllocator1 > &lhs, const ::nav_msgs::GetMapAction_< ContainerAllocator2 > &rhs)
Definition: GetMapAction.h:88
roswrap::message_traits::DataType< ::nav_msgs::Odometry_< ContainerAllocator > >::value
static const char * value()
Definition: Odometry.h:158
nav_msgs::Odometry_::Odometry_
Odometry_(const ContainerAllocator &_alloc)
Definition: Odometry.h:36


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:09