SickLocResultPortTestcaseMsg.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/SickLocResultPortTestcaseMsg.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_SICKLOCRESULTPORTTESTCASEMSG_H
7 #define SICK_SCAN_MESSAGE_SICKLOCRESULTPORTTESTCASEMSG_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>
21 
22 namespace sick_scan_xd
23 {
24 template <class ContainerAllocator>
26 {
28 
30  : header()
31  , binary_data()
32  , telegram_msg() {
33  }
34  SickLocResultPortTestcaseMsg_(const ContainerAllocator& _alloc)
35  : header(_alloc)
36  , binary_data(_alloc)
37  , telegram_msg(_alloc) {
38  (void)_alloc;
39  }
40 
41 
42 
43  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
45 
46  typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > _binary_data_type;
48 
49  typedef ::sick_scan_xd::SickLocResultPortTelegramMsg_<ContainerAllocator> _telegram_msg_type;
51 
52 
53 
54 
55 
56  typedef std::shared_ptr< ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator> > Ptr;
57  typedef std::shared_ptr< ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator> const> ConstPtr;
58 
59 }; // struct SickLocResultPortTestcaseMsg_
60 
61 typedef ::sick_scan_xd::SickLocResultPortTestcaseMsg_<std::allocator<void> > SickLocResultPortTestcaseMsg;
62 
63 typedef std::shared_ptr< ::sick_scan_xd::SickLocResultPortTestcaseMsg > SickLocResultPortTestcaseMsgPtr;
64 typedef std::shared_ptr< ::sick_scan_xd::SickLocResultPortTestcaseMsg const> SickLocResultPortTestcaseMsgConstPtr;
65 
66 // constants requiring out of line definition
67 
68 
69 
70 template<typename ContainerAllocator>
71 std::ostream& operator<<(std::ostream& s, const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator> & v)
72 {
74 return s;
75 }
76 
77 
78 template<typename ContainerAllocator1, typename ContainerAllocator2>
79 bool operator==(const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator2> & rhs)
80 {
81  return lhs.header == rhs.header &&
82  lhs.binary_data == rhs.binary_data &&
83  lhs.telegram_msg == rhs.telegram_msg;
84 }
85 
86 template<typename ContainerAllocator1, typename ContainerAllocator2>
87 bool operator!=(const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator2> & rhs)
88 {
89  return !(lhs == rhs);
90 }
91 
92 
93 } // namespace sick_scan_xd
94 
95 namespace roswrap
96 {
97 namespace message_traits
98 {
99 
100 
101 
102 
103 
104 template <class ContainerAllocator>
106  : FalseType
107  { };
108 
109 template <class ContainerAllocator>
111  : FalseType
112  { };
113 
114 template <class ContainerAllocator>
116  : TrueType
117  { };
118 
119 template <class ContainerAllocator>
121  : TrueType
122  { };
123 
124 template <class ContainerAllocator>
126  : TrueType
127  { };
128 
129 template <class ContainerAllocator>
131  : TrueType
132  { };
133 
134 
135 template<class ContainerAllocator>
137 {
138  static const char* value()
139  {
140  return "38e9c3306b5acbea8482510e0b314a8d";
141  }
142 
143  static const char* value(const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator>&) { return value(); }
144  static const uint64_t static_value1 = 0x38e9c3306b5acbeaULL;
145  static const uint64_t static_value2 = 0x8482510e0b314a8dULL;
146 };
147 
148 template<class ContainerAllocator>
150 {
151  static const char* value()
152  {
153  return "sick_scan/SickLocResultPortTestcaseMsg";
154  }
155 
156  static const char* value(const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator>&) { return value(); }
157 };
158 
159 template<class ContainerAllocator>
161 {
162  static const char* value()
163  {
164  return "# Definition of ros message SickLocResultPortTestcaseMsg.\n"
165 "# SickLocResultPortTestcaseMsg publishes testcases for result port telegrams\n"
166 "# in both binary format (simulated result port telegrams from localization controller)\n"
167 "# and ros message format of type SickLocResultPortTelegramMsg (published by sim_loc_driver).\n"
168 "# See chapter 5.9 (\"About result port telegrams\") of the operation manual for further details.\n"
169 "\n"
170 "std_msgs/Header header # ROS Header with sequence id, timestamp and frame id\n"
171 "uint8[] binary_data # binary encoded result port telegram\n"
172 "SickLocResultPortTelegramMsg telegram_msg # decoded result port telegram\n"
173 "\n"
174 "================================================================================\n"
175 "MSG: std_msgs/Header\n"
176 "# Standard metadata for higher-level stamped data types.\n"
177 "# This is generally used to communicate timestamped data \n"
178 "# in a particular coordinate frame.\n"
179 "# \n"
180 "# sequence ID: consecutively increasing ID \n"
181 "uint32 seq\n"
182 "#Two-integer timestamp that is expressed as:\n"
183 "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
184 "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
185 "# time-handling sugar is provided by the client library\n"
186 "time stamp\n"
187 "#Frame this data is associated with\n"
188 "string frame_id\n"
189 "\n"
190 "================================================================================\n"
191 "MSG: sick_scan/SickLocResultPortTelegramMsg\n"
192 "# Definition of ros message SickLocResultPortTelegramMsg.\n"
193 "# SickLocResultPortTelegramMsg publishes result port telegrams\n"
194 "# for sick localization. See chapter 5.9 (\"About result port telegrams\")\n"
195 "# of the operation manual for further details.\n"
196 "\n"
197 "#\n"
198 "# Header\n"
199 "#\n"
200 "\n"
201 "std_msgs/Header header # ROS Header with sequence id, timestamp and frame id\n"
202 "\n"
203 "#\n"
204 "# Result port telegram\n"
205 "#\n"
206 "\n"
207 "SickLocResultPortHeaderMsg telegram_header # 52 byte header of a result port telegram\n"
208 "SickLocResultPortPayloadMsg telegram_payload # 52 byte payload of a result port telegram\n"
209 "SickLocResultPortCrcMsg telegram_trailer # 2 byte CRC trailer of a result port telegram\n"
210 "\n"
211 "#\n"
212 "# System time of vehicles pose calculated by ros service \"SickLocTimeSync\" using a software pll\n"
213 "#\n"
214 "\n"
215 "bool vehicle_time_valid # true: vehicle_time_sec and vehicle_time_nsec valid, false: software pll still in initial phase\n"
216 "uint32 vehicle_time_sec # Time of vehicles pose calculated by software pll (seconds part of the system time)\n"
217 "uint32 vehicle_time_nsec # Time of vehicles pose calculated by software pll (nano seconds part of the system time)\n"
218 "\n"
219 "================================================================================\n"
220 "MSG: sick_scan/SickLocResultPortHeaderMsg\n"
221 "# Definition of ros message SickLocResultPortHeaderMsg.\n"
222 "# SickLocResultPortHeaderMsg publishes the header of a result port telegram\n"
223 "# for sick localization (52 byte). See chapter 5.9 (\"About result port telegrams\")\n"
224 "# of the operation manual for further details.\n"
225 "\n"
226 "uint32 magicword # Magic word SICK (0x53 0x49 0x43 0x4B). Size: 4 × UInt8 = 4 byte\n"
227 "uint32 length # Length of telegram incl. header, payload, and trailer. Size: UInt32 = 4 byte\n"
228 "uint16 payloadtype # Payload type: 0x06c2 = Little Endian, 0x0642 = Big Endian. Size: UInt16 = 2 byte\n"
229 "uint16 payloadversion # Version of PayloadType structure. Size: UInt16 = 2 byte\n"
230 "uint32 ordernumber # Order number of the localization controller. Size: UInt32 = 4 byte\n"
231 "uint32 serialnumber # Serial number of the localization controller. Size: UInt32 = 4 byte\n"
232 "uint8[] fw_version # Software version of the localization controller. Size: 20 × UInt8 = 20 byte\n"
233 "uint32 telegramcounter # Telegram counter since last start-up. Size: UInt32 = 4 byte\n"
234 "uint64 systemtime # Not used. Size: NTP = 8 byte\n"
235 "\n"
236 "\n"
237 "================================================================================\n"
238 "MSG: sick_scan/SickLocResultPortPayloadMsg\n"
239 "# Definition of ros message SickLocResultPortPayloadMsg.\n"
240 "# SickLocResultPortPayloadMsg publishes the payload of a result port telegram\n"
241 "# for sick localization (52 byte). See chapter 5.9 (\"About result port telegrams\")\n"
242 "# of the operation manual for further details.\n"
243 "\n"
244 "uint16 errorcode # ErrorCode 0: OK, ErrorCode 1: UNKNOWNERROR. Size: UInt16 = 2 byte\n"
245 "uint32 scancounter # Counter of related scan data. Size: UInt32 = 4 byte\n"
246 "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"
247 "int32 posex # Position X of the vehicle on the map in cartesian global coordinates [mm]. Size: Int32 = 4 byte\n"
248 "int32 posey # Position Y of the vehicle on the map in cartesian global coordinates [mm]. Size: Int32 = 4 byte\n"
249 "int32 poseyaw # Orientation (yaw) of the vehicle on the map [mdeg] Size: Int32 = 4 byte\n"
250 "uint32 reserved1 # Reserved. Size: UInt32 = 4 byte\n"
251 "int32 reserved2 # Reserved. Size: Int32 = 4 byte\n"
252 "uint8 quality # Quality of pose [0 ... 100], 1 = bad pose quality, 100 = good pose quality. Size: UInt8 = 1 byte\n"
253 "uint8 outliersratio # Ratio of beams that cannot be assigned to the current reference map [%]. Size: UInt8 = 1 byte\n"
254 "int32 covariancex # Covariance c1 of the pose X [mm^2]. Size: Int32 = 4 byte\n"
255 "int32 covariancey # Covariance c5 of the pose Y [mm^2]. Size: Int32 = 4 byte\n"
256 "int32 covarianceyaw # Covariance c9 of the pose Yaw [mdeg^2]. Size: Int32 = 4 byte\n"
257 "uint64 reserved3 # Reserved. Size: UInt64 = 8 byte\n"
258 "\n"
259 "\n"
260 "================================================================================\n"
261 "MSG: sick_scan/SickLocResultPortCrcMsg\n"
262 "# Definition of ros message SickLocResultPortCrcMsg.\n"
263 "# SickLocResultPortCrcMsg publishes the CRC trailer of a result port telegram\n"
264 "# for sick localization (2 byte). \n"
265 "# Checksum details:\n"
266 "# * Width: 16 bits\n"
267 "# * Truncated polynomial: 0x1021 CRC polynomials with orders of x16 + x12 + x5 + 1 (counted without the leading '1' bit)\n"
268 "# * Initial value = 0xFFFF\n"
269 "# See chapter 5.9 (\"About result port telegrams\") of the operation manual for further details.\n"
270 "\n"
271 "uint16 checksum # CRC16-CCITT over length of header (52 bytes) and payload (52 bytes) without 2 bytes of this trailer. Size: UInt16 = 2 byte\n"
272 "\n"
273 ;
274  }
275 
276  static const char* value(const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator>&) { return value(); }
277 };
278 
279 } // namespace message_traits
280 } // namespace roswrap
281 
282 namespace roswrap
283 {
284 namespace serialization
285 {
286 
287  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator> >
288  {
289  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
290  {
291  stream.next(m.header);
292  stream.next(m.binary_data);
293  stream.next(m.telegram_msg);
294  }
295 
297  }; // struct SickLocResultPortTestcaseMsg_
298 
299 } // namespace serialization
300 } // namespace roswrap
301 
302 namespace roswrap
303 {
304 namespace message_operations
305 {
306 
307 template<class ContainerAllocator>
309 {
310  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator>& v)
311  {
312  s << indent << "header: ";
313  s << std::endl;
315  s << indent << "binary_data[]" << std::endl;
316  for (size_t i = 0; i < v.binary_data.size(); ++i)
317  {
318  s << indent << " binary_data[" << i << "]: ";
319  Printer<uint8_t>::stream(s, indent + " ", v.binary_data[i]);
320  }
321  s << indent << "telegram_msg: ";
322  s << std::endl;
324  }
325 };
326 
327 } // namespace message_operations
328 } // namespace roswrap
329 
330 #endif // SICK_SCAN_MESSAGE_SICKLOCRESULTPORTTESTCASEMSG_H
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
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
sick_scan_xd::SickLocResultPortTestcaseMsg_::SickLocResultPortTestcaseMsg_
SickLocResultPortTestcaseMsg_()
Definition: SickLocResultPortTestcaseMsg.h:29
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
sick_scan_xd::SickLocResultPortTestcaseMsg_::header
_header_type header
Definition: SickLocResultPortTestcaseMsg.h:44
sick_scan_xd::SickLocResultPortTestcaseMsg_::_binary_data_type
std::vector< uint8_t, typename ContainerAllocator::template rebind< uint8_t >::other > _binary_data_type
Definition: SickLocResultPortTestcaseMsg.h:46
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
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
sick_scan_xd::SickLocResultPortTelegramMsg_
Definition: SickLocResultPortTelegramMsg.h:27
sick_scan_xd::SickLocResultPortTestcaseMsg_::_header_type
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: SickLocResultPortTestcaseMsg.h:43
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::SickLocResultPortTestcaseMsg_::Type
SickLocResultPortTestcaseMsg_< ContainerAllocator > Type
Definition: SickLocResultPortTestcaseMsg.h:27
ros::message_operations::Printer
sick_scan_xd::SickLocResultPortTestcaseMsg_::SickLocResultPortTestcaseMsg_
SickLocResultPortTestcaseMsg_(const ContainerAllocator &_alloc)
Definition: SickLocResultPortTestcaseMsg.h:34
sick_scan_xd::SickLocResultPortTestcaseMsg_::binary_data
_binary_data_type binary_data
Definition: SickLocResultPortTestcaseMsg.h:47
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
Definition: abstract_parser.cpp:65
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
sick_scan_xd::SickLocResultPortTestcaseMsgPtr
std::shared_ptr< ::sick_scan_xd::SickLocResultPortTestcaseMsg > SickLocResultPortTestcaseMsgPtr
Definition: SickLocResultPortTestcaseMsg.h:63
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
sick_scan_xd::SickLocResultPortTestcaseMsg_
Definition: SickLocResultPortTestcaseMsg.h:25
sick_scan_xd::SickLocResultPortTestcaseMsgConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocResultPortTestcaseMsg const > SickLocResultPortTestcaseMsgConstPtr
Definition: SickLocResultPortTestcaseMsg.h:64
sick_scan_xd::SickLocResultPortTestcaseMsg_::_telegram_msg_type
::sick_scan_xd::SickLocResultPortTelegramMsg_< ContainerAllocator > _telegram_msg_type
Definition: SickLocResultPortTestcaseMsg.h:49
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > &)
Definition: SickLocResultPortTestcaseMsg.h:156
SickLocResultPortTelegramMsg.h
roswrap::serialization::Serializer< ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: SickLocResultPortTestcaseMsg.h:289
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > &)
Definition: SickLocResultPortTestcaseMsg.h:276
roswrap
Definition: param_modi.cpp:41
sick_scan_xd::SickLocResultPortTestcaseMsg_::Ptr
std::shared_ptr< ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > > Ptr
Definition: SickLocResultPortTestcaseMsg.h:56
roswrap::message_operations::Printer
Definition: message_operations.h:40
std_msgs::Header_
Definition: Header.h:23
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocResultPortTestcaseMsg.h:138
sick_scan_xd::SickLocResultPortTestcaseMsg_::ConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > const > ConstPtr
Definition: SickLocResultPortTestcaseMsg.h:57
sick_scan_xd::SickLocResultPortTestcaseMsg_::telegram_msg
_telegram_msg_type telegram_msg
Definition: SickLocResultPortTestcaseMsg.h:50
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
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocResultPortTestcaseMsg.h:151
sick_scan_xd::SickLocResultPortTestcaseMsg
::sick_scan_xd::SickLocResultPortTestcaseMsg_< std::allocator< void > > SickLocResultPortTestcaseMsg
Definition: SickLocResultPortTestcaseMsg.h:61
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
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_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocResultPortTestcaseMsg.h:162
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > &)
Definition: SickLocResultPortTestcaseMsg.h:143
roswrap::message_operations::Printer< ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > &v)
Definition: SickLocResultPortTestcaseMsg.h:310
Header.h


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