Go to the documentation of this file.
6 #ifndef SICK_SCAN_MESSAGE_SICKLOCRESULTPORTTESTCASEMSG_H
7 #define SICK_SCAN_MESSAGE_SICKLOCRESULTPORTTESTCASEMSG_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
24 template <
class ContainerAllocator>
46 typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >
_binary_data_type;
56 typedef std::shared_ptr< ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator> >
Ptr;
57 typedef std::shared_ptr< ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator>
const>
ConstPtr;
70 template<
typename ContainerAllocator>
71 std::ostream&
operator<<(std::ostream& s, const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator> & v)
78 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
79 bool operator==(const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator2> & rhs)
81 return lhs.header == rhs.header &&
82 lhs.binary_data == rhs.binary_data &&
83 lhs.telegram_msg == rhs.telegram_msg;
86 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
87 bool operator!=(const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator2> & rhs)
97 namespace message_traits
104 template <
class ContainerAllocator>
109 template <
class ContainerAllocator>
114 template <
class ContainerAllocator>
119 template <
class ContainerAllocator>
124 template <
class ContainerAllocator>
129 template <
class ContainerAllocator>
135 template<
class ContainerAllocator>
140 return "38e9c3306b5acbea8482510e0b314a8d";
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;
148 template<
class ContainerAllocator>
153 return "sick_scan/SickLocResultPortTestcaseMsg";
156 static const char*
value(const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator>&) {
return value(); }
159 template<
class ContainerAllocator>
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"
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"
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"
180 "# sequence ID: consecutively increasing ID \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"
187 "#Frame this data is associated with\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"
201 "std_msgs/Header header # ROS Header with sequence id, timestamp and frame id\n"
204 "# Result port telegram\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"
212 "# System time of vehicles pose calculated by ros service \"SickLocTimeSync\" using a software pll\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"
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"
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"
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"
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"
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"
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"
276 static const char*
value(const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator>&) {
return value(); }
284 namespace serialization
289 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
291 stream.next(m.header);
292 stream.next(m.binary_data);
293 stream.next(m.telegram_msg);
304 namespace message_operations
307 template<
class ContainerAllocator>
310 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sick_scan_xd::SickLocResultPortTestcaseMsg_<ContainerAllocator>& v)
315 s <<
indent <<
"binary_data[]" << std::endl;
316 for (
size_t i = 0; i < v.binary_data.size(); ++i)
318 s <<
indent <<
" binary_data[" << i <<
"]: ";
321 s <<
indent <<
"telegram_msg: ";
330 #endif // SICK_SCAN_MESSAGE_SICKLOCRESULTPORTTESTCASEMSG_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
std::ostream & operator<<(std::ostream &s, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > &v)
bool operator!=(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
SickLocResultPortTestcaseMsg_()
Templated serialization class. Default implementation provides backwards compatibility with old messa...
std::vector< uint8_t, typename ContainerAllocator::template rebind< uint8_t >::other > _binary_data_type
::std_msgs::Header_< ContainerAllocator > _header_type
static void stream(Stream &s, const std::string &indent, const M &value)
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
SickLocResultPortTestcaseMsg_< ContainerAllocator > Type
SickLocResultPortTestcaseMsg_(const ContainerAllocator &_alloc)
_binary_data_type binary_data
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Specialize to provide the datatype for a message.
std::shared_ptr< ::sick_scan_xd::SickLocResultPortTestcaseMsg > SickLocResultPortTestcaseMsgPtr
Specialize to provide the definition for a message.
std::shared_ptr< ::sick_scan_xd::SickLocResultPortTestcaseMsg const > SickLocResultPortTestcaseMsgConstPtr
::sick_scan_xd::SickLocResultPortTelegramMsg_< ContainerAllocator > _telegram_msg_type
static const char * value(const ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > &)
static void allInOne(Stream &stream, T m)
static const char * value(const ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > &)
std::shared_ptr< ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > > Ptr
static const char * value()
std::shared_ptr< ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > const > ConstPtr
_telegram_msg_type telegram_msg
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
static const char * value()
::sick_scan_xd::SickLocResultPortTestcaseMsg_< std::allocator< void > > SickLocResultPortTestcaseMsg
bool operator==(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
Stream base-class, provides common functionality for IStream and OStream.
static const char * value()
static const char * value(const ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > &)
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::SickLocResultPortTestcaseMsg_< ContainerAllocator > &v)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:11