SickLocResultPortPayloadMsg.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 sick_scan/SickLocResultPortPayloadMsg.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_SICKLOCRESULTPORTPAYLOADMSG_H
7 #define SICK_SCAN_MESSAGE_SICKLOCRESULTPORTPAYLOADMSG_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 
20 namespace sick_scan_xd
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : errorcode(0)
29  , scancounter(0)
30  , timestamp(0)
31  , posex(0)
32  , posey(0)
33  , poseyaw(0)
34  , reserved1(0)
35  , reserved2(0)
36  , quality(0)
37  , outliersratio(0)
38  , covariancex(0)
39  , covariancey(0)
40  , covarianceyaw(0)
41  , reserved3(0) {
42  }
43  SickLocResultPortPayloadMsg_(const ContainerAllocator& _alloc)
44  : errorcode(0)
45  , scancounter(0)
46  , timestamp(0)
47  , posex(0)
48  , posey(0)
49  , poseyaw(0)
50  , reserved1(0)
51  , reserved2(0)
52  , quality(0)
53  , outliersratio(0)
54  , covariancex(0)
55  , covariancey(0)
56  , covarianceyaw(0)
57  , reserved3(0) {
58  (void)_alloc;
59  }
60 
61 
62 
63  typedef uint16_t _errorcode_type;
65 
66  typedef uint32_t _scancounter_type;
68 
69  typedef uint32_t _timestamp_type;
71 
72  typedef int32_t _posex_type;
74 
75  typedef int32_t _posey_type;
77 
78  typedef int32_t _poseyaw_type;
80 
81  typedef uint32_t _reserved1_type;
83 
84  typedef int32_t _reserved2_type;
86 
87  typedef uint8_t _quality_type;
89 
90  typedef uint8_t _outliersratio_type;
92 
93  typedef int32_t _covariancex_type;
95 
96  typedef int32_t _covariancey_type;
98 
99  typedef int32_t _covarianceyaw_type;
101 
102  typedef uint64_t _reserved3_type;
104 
105 
106 
107 
108 
109  typedef std::shared_ptr< ::sick_scan_xd::SickLocResultPortPayloadMsg_<ContainerAllocator> > Ptr;
110  typedef std::shared_ptr< ::sick_scan_xd::SickLocResultPortPayloadMsg_<ContainerAllocator> const> ConstPtr;
111 
112 }; // struct SickLocResultPortPayloadMsg_
113 
114 typedef ::sick_scan_xd::SickLocResultPortPayloadMsg_<std::allocator<void> > SickLocResultPortPayloadMsg;
115 
116 typedef std::shared_ptr< ::sick_scan_xd::SickLocResultPortPayloadMsg > SickLocResultPortPayloadMsgPtr;
117 typedef std::shared_ptr< ::sick_scan_xd::SickLocResultPortPayloadMsg const> SickLocResultPortPayloadMsgConstPtr;
118 
119 // constants requiring out of line definition
120 
121 
122 
123 template<typename ContainerAllocator>
124 std::ostream& operator<<(std::ostream& s, const ::sick_scan_xd::SickLocResultPortPayloadMsg_<ContainerAllocator> & v)
125 {
127 return s;
128 }
129 
130 
131 template<typename ContainerAllocator1, typename ContainerAllocator2>
132 bool operator==(const ::sick_scan_xd::SickLocResultPortPayloadMsg_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocResultPortPayloadMsg_<ContainerAllocator2> & rhs)
133 {
134  return lhs.errorcode == rhs.errorcode &&
135  lhs.scancounter == rhs.scancounter &&
136  lhs.timestamp == rhs.timestamp &&
137  lhs.posex == rhs.posex &&
138  lhs.posey == rhs.posey &&
139  lhs.poseyaw == rhs.poseyaw &&
140  lhs.reserved1 == rhs.reserved1 &&
141  lhs.reserved2 == rhs.reserved2 &&
142  lhs.quality == rhs.quality &&
143  lhs.outliersratio == rhs.outliersratio &&
144  lhs.covariancex == rhs.covariancex &&
145  lhs.covariancey == rhs.covariancey &&
146  lhs.covarianceyaw == rhs.covarianceyaw &&
147  lhs.reserved3 == rhs.reserved3;
148 }
149 
150 template<typename ContainerAllocator1, typename ContainerAllocator2>
151 bool operator!=(const ::sick_scan_xd::SickLocResultPortPayloadMsg_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocResultPortPayloadMsg_<ContainerAllocator2> & rhs)
152 {
153  return !(lhs == rhs);
154 }
155 
156 
157 } // namespace sick_scan_xd
158 
159 namespace roswrap
160 {
161 namespace message_traits
162 {
163 
164 
165 
166 
167 
168 template <class ContainerAllocator>
170  : TrueType
171  { };
172 
173 template <class ContainerAllocator>
175  : TrueType
176  { };
177 
178 template <class ContainerAllocator>
180  : TrueType
181  { };
182 
183 template <class ContainerAllocator>
185  : TrueType
186  { };
187 
188 template <class ContainerAllocator>
190  : FalseType
191  { };
192 
193 template <class ContainerAllocator>
195  : FalseType
196  { };
197 
198 
199 template<class ContainerAllocator>
200 struct MD5Sum< ::sick_scan_xd::SickLocResultPortPayloadMsg_<ContainerAllocator> >
201 {
202  static const char* value()
203  {
204  return "b80aed977dece34a3c761a1bbf1b6cec";
205  }
206 
207  static const char* value(const ::sick_scan_xd::SickLocResultPortPayloadMsg_<ContainerAllocator>&) { return value(); }
208  static const uint64_t static_value1 = 0xb80aed977dece34aULL;
209  static const uint64_t static_value2 = 0x3c761a1bbf1b6cecULL;
210 };
211 
212 template<class ContainerAllocator>
214 {
215  static const char* value()
216  {
217  return "sick_scan/SickLocResultPortPayloadMsg";
218  }
219 
220  static const char* value(const ::sick_scan_xd::SickLocResultPortPayloadMsg_<ContainerAllocator>&) { return value(); }
221 };
222 
223 template<class ContainerAllocator>
225 {
226  static const char* value()
227  {
228  return "# Definition of ros message SickLocResultPortPayloadMsg.\n"
229 "# SickLocResultPortPayloadMsg publishes the payload of a result port telegram\n"
230 "# for sick localization (52 byte). See chapter 5.9 (\"About result port telegrams\")\n"
231 "# of the operation manual for further details.\n"
232 "\n"
233 "uint16 errorcode # ErrorCode 0: OK, ErrorCode 1: UNKNOWNERROR. Size: UInt16 = 2 byte\n"
234 "uint32 scancounter # Counter of related scan data. Size: UInt32 = 4 byte\n"
235 "uint32 timestamp # Time stamp of the pose [ms]. The time stamp indicates the time at which the pose is calculated. Size: UInt32 = 4 byte\n"
236 "int32 posex # Position X of the vehicle on the map in cartesian global coordinates [mm]. Size: Int32 = 4 byte\n"
237 "int32 posey # Position Y of the vehicle on the map in cartesian global coordinates [mm]. Size: Int32 = 4 byte\n"
238 "int32 poseyaw # Orientation (yaw) of the vehicle on the map [mdeg] Size: Int32 = 4 byte\n"
239 "uint32 reserved1 # Reserved. Size: UInt32 = 4 byte\n"
240 "int32 reserved2 # Reserved. Size: Int32 = 4 byte\n"
241 "uint8 quality # Quality of pose [0 ... 100], 1 = bad pose quality, 100 = good pose quality. Size: UInt8 = 1 byte\n"
242 "uint8 outliersratio # Ratio of beams that cannot be assigned to the current reference map [%]. Size: UInt8 = 1 byte\n"
243 "int32 covariancex # Covariance c1 of the pose X [mm^2]. Size: Int32 = 4 byte\n"
244 "int32 covariancey # Covariance c5 of the pose Y [mm^2]. Size: Int32 = 4 byte\n"
245 "int32 covarianceyaw # Covariance c9 of the pose Yaw [mdeg^2]. Size: Int32 = 4 byte\n"
246 "uint64 reserved3 # Reserved. Size: UInt64 = 8 byte\n"
247 "\n"
248 ;
249  }
250 
251  static const char* value(const ::sick_scan_xd::SickLocResultPortPayloadMsg_<ContainerAllocator>&) { return value(); }
252 };
253 
254 } // namespace message_traits
255 } // namespace roswrap
256 
257 namespace roswrap
258 {
259 namespace serialization
260 {
261 
262  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::SickLocResultPortPayloadMsg_<ContainerAllocator> >
263  {
264  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
265  {
266  stream.next(m.errorcode);
267  stream.next(m.scancounter);
268  stream.next(m.timestamp);
269  stream.next(m.posex);
270  stream.next(m.posey);
271  stream.next(m.poseyaw);
272  stream.next(m.reserved1);
273  stream.next(m.reserved2);
274  stream.next(m.quality);
275  stream.next(m.outliersratio);
276  stream.next(m.covariancex);
277  stream.next(m.covariancey);
278  stream.next(m.covarianceyaw);
279  stream.next(m.reserved3);
280  }
281 
283  }; // struct SickLocResultPortPayloadMsg_
284 
285 } // namespace serialization
286 } // namespace roswrap
287 
288 namespace roswrap
289 {
290 namespace message_operations
291 {
292 
293 template<class ContainerAllocator>
295 {
296  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::SickLocResultPortPayloadMsg_<ContainerAllocator>& v)
297  {
298  s << indent << "errorcode: ";
299  Printer<uint16_t>::stream(s, indent + " ", v.errorcode);
300  s << indent << "scancounter: ";
301  Printer<uint32_t>::stream(s, indent + " ", v.scancounter);
302  s << indent << "timestamp: ";
303  Printer<uint32_t>::stream(s, indent + " ", v.timestamp);
304  s << indent << "posex: ";
305  Printer<int32_t>::stream(s, indent + " ", v.posex);
306  s << indent << "posey: ";
307  Printer<int32_t>::stream(s, indent + " ", v.posey);
308  s << indent << "poseyaw: ";
309  Printer<int32_t>::stream(s, indent + " ", v.poseyaw);
310  s << indent << "reserved1: ";
311  Printer<uint32_t>::stream(s, indent + " ", v.reserved1);
312  s << indent << "reserved2: ";
313  Printer<int32_t>::stream(s, indent + " ", v.reserved2);
314  s << indent << "quality: ";
315  Printer<uint8_t>::stream(s, indent + " ", v.quality);
316  s << indent << "outliersratio: ";
317  Printer<uint8_t>::stream(s, indent + " ", v.outliersratio);
318  s << indent << "covariancex: ";
319  Printer<int32_t>::stream(s, indent + " ", v.covariancex);
320  s << indent << "covariancey: ";
321  Printer<int32_t>::stream(s, indent + " ", v.covariancey);
322  s << indent << "covarianceyaw: ";
323  Printer<int32_t>::stream(s, indent + " ", v.covarianceyaw);
324  s << indent << "reserved3: ";
325  Printer<uint64_t>::stream(s, indent + " ", v.reserved3);
326  }
327 };
328 
329 } // namespace message_operations
330 } // namespace roswrap
331 
332 #endif // SICK_SCAN_MESSAGE_SICKLOCRESULTPORTPAYLOADMSG_H
sick_scan_xd::SickLocResultPortPayloadMsg_::_quality_type
uint8_t _quality_type
Definition: SickLocResultPortPayloadMsg.h:87
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
sick_scan_xd::operator<<
std::ostream & operator<<(std::ostream &s, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > &v)
Definition: ColaMsgSrvRequest.h:59
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocResultPortPayloadMsg_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocResultPortPayloadMsg.h:202
sick_scan_xd::SickLocResultPortPayloadMsg_::reserved3
_reserved3_type reserved3
Definition: SickLocResultPortPayloadMsg.h:103
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
sick_scan_xd::operator!=
bool operator!=(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
Definition: ColaMsgSrvRequest.h:73
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
sick_scan_xd::SickLocResultPortPayloadMsg_::quality
_quality_type quality
Definition: SickLocResultPortPayloadMsg.h:88
sick_scan_xd::SickLocResultPortPayloadMsg_::poseyaw
_poseyaw_type poseyaw
Definition: SickLocResultPortPayloadMsg.h:79
sick_scan_xd::SickLocResultPortPayloadMsg_::_timestamp_type
uint32_t _timestamp_type
Definition: SickLocResultPortPayloadMsg.h:69
sick_scan_xd::SickLocResultPortPayloadMsg_::reserved1
_reserved1_type reserved1
Definition: SickLocResultPortPayloadMsg.h:82
sick_scan_xd::SickLocResultPortPayloadMsgPtr
std::shared_ptr< ::sick_scan_xd::SickLocResultPortPayloadMsg > SickLocResultPortPayloadMsgPtr
Definition: SickLocResultPortPayloadMsg.h:116
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
sick_scan_xd::SickLocResultPortPayloadMsg_::covariancex
_covariancex_type covariancex
Definition: SickLocResultPortPayloadMsg.h:94
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocResultPortPayloadMsg_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocResultPortPayloadMsg.h:215
sick_scan_xd::SickLocResultPortPayloadMsg_::posex
_posex_type posex
Definition: SickLocResultPortPayloadMsg.h:73
sick_scan_xd::SickLocResultPortPayloadMsg_::_reserved1_type
uint32_t _reserved1_type
Definition: SickLocResultPortPayloadMsg.h:81
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
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
sick_scan_xd::SickLocResultPortPayloadMsg_::_posey_type
int32_t _posey_type
Definition: SickLocResultPortPayloadMsg.h:75
sick_scan_xd::SickLocResultPortPayloadMsg_::scancounter
_scancounter_type scancounter
Definition: SickLocResultPortPayloadMsg.h:67
sick_scan_xd::SickLocResultPortPayloadMsg_::_poseyaw_type
int32_t _poseyaw_type
Definition: SickLocResultPortPayloadMsg.h:78
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
sick_scan_xd::SickLocResultPortPayloadMsg_::_posex_type
int32_t _posex_type
Definition: SickLocResultPortPayloadMsg.h:72
sick_scan_xd
Definition: abstract_parser.cpp:65
sick_scan_xd::SickLocResultPortPayloadMsg_::_scancounter_type
uint32_t _scancounter_type
Definition: SickLocResultPortPayloadMsg.h:66
roswrap::message_operations::Printer< ::sick_scan_xd::SickLocResultPortPayloadMsg_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::SickLocResultPortPayloadMsg_< ContainerAllocator > &v)
Definition: SickLocResultPortPayloadMsg.h:296
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
sick_scan_xd::SickLocResultPortPayloadMsg_::_reserved2_type
int32_t _reserved2_type
Definition: SickLocResultPortPayloadMsg.h:84
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
sick_scan_xd::SickLocResultPortPayloadMsg_::reserved2
_reserved2_type reserved2
Definition: SickLocResultPortPayloadMsg.h:85
sick_scan_xd::SickLocResultPortPayloadMsg_::timestamp
_timestamp_type timestamp
Definition: SickLocResultPortPayloadMsg.h:70
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocResultPortPayloadMsg_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocResultPortPayloadMsg_< ContainerAllocator > &)
Definition: SickLocResultPortPayloadMsg.h:220
sick_scan_xd::SickLocResultPortPayloadMsg_::Type
SickLocResultPortPayloadMsg_< ContainerAllocator > Type
Definition: SickLocResultPortPayloadMsg.h:25
sick_scan_xd::SickLocResultPortPayloadMsg_::SickLocResultPortPayloadMsg_
SickLocResultPortPayloadMsg_()
Definition: SickLocResultPortPayloadMsg.h:27
sick_scan_xd::SickLocResultPortPayloadMsg
::sick_scan_xd::SickLocResultPortPayloadMsg_< std::allocator< void > > SickLocResultPortPayloadMsg
Definition: SickLocResultPortPayloadMsg.h:114
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocResultPortPayloadMsg_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocResultPortPayloadMsg_< ContainerAllocator > &)
Definition: SickLocResultPortPayloadMsg.h:251
sick_scan_xd::SickLocResultPortPayloadMsg_
Definition: SickLocResultPortPayloadMsg.h:23
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocResultPortPayloadMsg_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocResultPortPayloadMsg_< ContainerAllocator > &)
Definition: SickLocResultPortPayloadMsg.h:207
sick_scan_xd::SickLocResultPortPayloadMsgConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocResultPortPayloadMsg const > SickLocResultPortPayloadMsgConstPtr
Definition: SickLocResultPortPayloadMsg.h:117
sick_scan_xd::SickLocResultPortPayloadMsg_::ConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocResultPortPayloadMsg_< ContainerAllocator > const > ConstPtr
Definition: SickLocResultPortPayloadMsg.h:110
sick_scan_xd::SickLocResultPortPayloadMsg_::errorcode
_errorcode_type errorcode
Definition: SickLocResultPortPayloadMsg.h:64
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
roswrap::serialization::Serializer< ::sick_scan_xd::SickLocResultPortPayloadMsg_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: SickLocResultPortPayloadMsg.h:264
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocResultPortPayloadMsg_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocResultPortPayloadMsg.h:226
sick_scan_xd::SickLocResultPortPayloadMsg_::_covariancey_type
int32_t _covariancey_type
Definition: SickLocResultPortPayloadMsg.h:96
sick_scan_xd::SickLocResultPortPayloadMsg_::covariancey
_covariancey_type covariancey
Definition: SickLocResultPortPayloadMsg.h:97
sick_scan_xd::SickLocResultPortPayloadMsg_::covarianceyaw
_covarianceyaw_type covarianceyaw
Definition: SickLocResultPortPayloadMsg.h:100
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
sick_scan_xd::SickLocResultPortPayloadMsg_::_outliersratio_type
uint8_t _outliersratio_type
Definition: SickLocResultPortPayloadMsg.h:90
sick_scan_xd::SickLocResultPortPayloadMsg_::Ptr
std::shared_ptr< ::sick_scan_xd::SickLocResultPortPayloadMsg_< ContainerAllocator > > Ptr
Definition: SickLocResultPortPayloadMsg.h:109
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sick_scan_xd::SickLocResultPortPayloadMsg_::_errorcode_type
uint16_t _errorcode_type
Definition: SickLocResultPortPayloadMsg.h:63
sick_scan_xd::operator==
bool operator==(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
Definition: ColaMsgSrvRequest.h:67
sick_scan_xd::SickLocResultPortPayloadMsg_::_covariancex_type
int32_t _covariancex_type
Definition: SickLocResultPortPayloadMsg.h:93
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sick_scan_xd::SickLocResultPortPayloadMsg_::outliersratio
_outliersratio_type outliersratio
Definition: SickLocResultPortPayloadMsg.h:91
sick_scan_xd::SickLocResultPortPayloadMsg_::_covarianceyaw_type
int32_t _covarianceyaw_type
Definition: SickLocResultPortPayloadMsg.h:99
sick_scan_xd::SickLocResultPortPayloadMsg_::SickLocResultPortPayloadMsg_
SickLocResultPortPayloadMsg_(const ContainerAllocator &_alloc)
Definition: SickLocResultPortPayloadMsg.h:43
sick_scan_xd::SickLocResultPortPayloadMsg_::posey
_posey_type posey
Definition: SickLocResultPortPayloadMsg.h:76
sick_scan_xd::SickLocResultPortPayloadMsg_::_reserved3_type
uint64_t _reserved3_type
Definition: SickLocResultPortPayloadMsg.h:102


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