Go to the documentation of this file.
6 #ifndef SICK_SCAN_MESSAGE_LFERECMSG_H
7 #define SICK_SCAN_MESSAGE_LFERECMSG_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>
49 typedef std::vector< ::sick_scan_xd::LFErecFieldMsg_<ContainerAllocator> ,
typename ContainerAllocator::template rebind< ::sick_scan_xd::LFErecFieldMsg_<ContainerAllocator> >::other >
_fields_type;
56 typedef std::shared_ptr< ::sick_scan_xd::LFErecMsg_<ContainerAllocator> >
Ptr;
57 typedef std::shared_ptr< ::sick_scan_xd::LFErecMsg_<ContainerAllocator>
const>
ConstPtr;
61 typedef ::sick_scan_xd::LFErecMsg_<std::allocator<void> >
LFErecMsg;
70 template<
typename ContainerAllocator>
71 std::ostream&
operator<<(std::ostream& s, const ::sick_scan_xd::LFErecMsg_<ContainerAllocator> & v)
78 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
79 bool operator==(const ::sick_scan_xd::LFErecMsg_<ContainerAllocator1> & lhs, const ::sick_scan_xd::LFErecMsg_<ContainerAllocator2> & rhs)
81 return lhs.header == rhs.header &&
82 lhs.fields_number == rhs.fields_number &&
83 lhs.fields == rhs.fields;
86 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
87 bool operator!=(const ::sick_scan_xd::LFErecMsg_<ContainerAllocator1> & lhs, const ::sick_scan_xd::LFErecMsg_<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 "41b1ad74a61b1c63ee0183843d182e5b";
143 static const char*
value(const ::sick_scan_xd::LFErecMsg_<ContainerAllocator>&) {
return value(); }
144 static const uint64_t static_value1 = 0x41b1ad74a61b1c63ULL;
145 static const uint64_t static_value2 = 0xee0183843d182e5bULL;
148 template<
class ContainerAllocator>
153 return "sick_scan/LFErecMsg";
156 static const char*
value(const ::sick_scan_xd::LFErecMsg_<ContainerAllocator>&) {
return value(); }
159 template<
class ContainerAllocator>
164 return "# This message contains a single field of a \"sSN LFErec\" message of a Sick laser scanner as an ros message.\n"
165 "# See https://github.com/SICKAG/libsick_ldmrs/blob/master/src/sopas/LdmrsSopasLayer.cpp lines 1414 ff.\n"
166 "# Field result field_result_mrs is 0 (invalid/incorrect), 1 (free/clear) or 2 (infringed)\n"
167 "# Note: field indices are sorted in reverse order, i.e. with 2 configured fields, we typically have\n"
168 "# output_msg.fields[0].field_index = 1, output_msg.fields[0].field_result_mrs = 0 (invalid)\n"
169 "# output_msg.fields[1].field_index = 2, output_msg.fields[1].field_result_mrs = 1 or 2 (clear=1 or infringed=2)\n"
170 "# output_msg.fields[2].field_index = 3, output_msg.fields[2].field_result_mrs = 1 or 2 (clear=1 or infringed=2)\n"
174 "uint16 fields_number # number of fields\n"
175 "sick_scan/LFErecFieldMsg[] fields # 3 fields for TiM871S\n"
177 "================================================================================\n"
178 "MSG: std_msgs/Header\n"
179 "# Standard metadata for higher-level stamped data types.\n"
180 "# This is generally used to communicate timestamped data \n"
181 "# in a particular coordinate frame.\n"
183 "# sequence ID: consecutively increasing ID \n"
185 "#Two-integer timestamp that is expressed as:\n"
186 "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
187 "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
188 "# time-handling sugar is provided by the client library\n"
190 "#Frame this data is associated with\n"
193 "================================================================================\n"
194 "MSG: sick_scan/LFErecFieldMsg\n"
195 "# This message contains a single field of a \"sSN LFErec\" message of a Sick laser scanner as an ros message.\n"
196 "# See https://github.com/SICKAG/libsick_ldmrs/blob/master/src/sopas/LdmrsSopasLayer.cpp lines 1414 ff.\n"
197 "# Field result field_result_mrs is 0 (invalid/incorrect), 1 (free/clear) or 2 (infringed)\n"
198 "# Note: field indices are sorted in reverse order, i.e. with 2 configured fields, we typically have\n"
199 "# output_msg.fields[0].field_index = 1, output_msg.fields[0].field_result_mrs = 0 (invalid)\n"
200 "# output_msg.fields[1].field_index = 2, output_msg.fields[1].field_result_mrs = 1 or 2 (clear=1 or infringed=2)\n"
201 "# output_msg.fields[2].field_index = 3, output_msg.fields[2].field_result_mrs = 1 or 2 (clear=1 or infringed=2)\n"
203 "uint16 version_number\n"
204 "uint8 field_index\n"
206 "float32 dist_scale_factor\n"
207 "float32 dist_scale_offset\n"
208 "uint32 angle_scale_factor\n"
209 "int32 angle_scale_offset\n"
210 "uint8 field_result_mrs # field result is 0 (invalid/incorrect), 1 (free/clear) or 2 (infringed)\n"
212 "uint16 time_state # No time data: 0, Time data: 1\n"
213 "uint16 year # f.e. 2021\n"
214 "uint8 month # 1 ... 12\n"
215 "uint8 day # 1 ... 31\n"
216 "uint8 hour # 0 ... 23\n"
217 "uint8 minute # 0 ... 59\n"
218 "uint8 second # 0 ... 59\n"
219 "uint32 microsecond # 0 ... 999999\n"
223 static const char*
value(const ::sick_scan_xd::LFErecMsg_<ContainerAllocator>&) {
return value(); }
231 namespace serialization
236 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
238 stream.next(m.header);
239 stream.next(m.fields_number);
240 stream.next(m.fields);
251 namespace message_operations
254 template<
class ContainerAllocator>
257 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sick_scan_xd::LFErecMsg_<ContainerAllocator>& v)
262 s <<
indent <<
"fields_number: ";
264 s <<
indent <<
"fields[]" << std::endl;
265 for (
size_t i = 0; i < v.fields.size(); ++i)
267 s <<
indent <<
" fields[" << i <<
"]: ";
278 #endif // SICK_SCAN_MESSAGE_LFERECMSG_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)
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::LFErecMsg_< ContainerAllocator > &v)
std::shared_ptr< ::sick_scan_xd::LFErecMsg_< ContainerAllocator > > Ptr
bool operator!=(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
Templated serialization class. Default implementation provides backwards compatibility with old messa...
uint16_t _fields_number_type
std::shared_ptr< ::sick_scan_xd::LFErecMsg_< ContainerAllocator > const > ConstPtr
static const char * value()
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...
::std_msgs::Header_< ContainerAllocator > _header_type
static const char * value()
#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.
::sick_scan_xd::LFErecMsg_< std::allocator< void > > LFErecMsg
Specialize to provide the definition for a message.
LFErecMsg_(const ContainerAllocator &_alloc)
std::shared_ptr< ::sick_scan_xd::LFErecMsg const > LFErecMsgConstPtr
std::shared_ptr< ::sick_scan_xd::LFErecMsg > LFErecMsgPtr
static const char * value()
std::vector< ::sick_scan_xd::LFErecFieldMsg_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::sick_scan_xd::LFErecFieldMsg_< ContainerAllocator > >::other > _fields_type
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(const ::sick_scan_xd::LFErecMsg_< ContainerAllocator > &)
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 void allInOne(Stream &stream, T m)
_fields_number_type fields_number
static const char * value(const ::sick_scan_xd::LFErecMsg_< ContainerAllocator > &)
LFErecMsg_< ContainerAllocator > Type
static const char * value(const ::sick_scan_xd::LFErecMsg_< ContainerAllocator > &)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08