Go to the documentation of this file.
6 #ifndef SICK_SCAN_MESSAGE_NAVLANDMARKDATA_H
7 #define SICK_SCAN_MESSAGE_NAVLANDMARKDATA_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>
54 typedef std::vector< ::sick_scan_xd::NAVReflectorData_<ContainerAllocator> ,
typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::sick_scan_xd::NAVReflectorData_<ContainerAllocator> >>
_reflectors_type;
61 typedef std::shared_ptr< ::sick_scan_xd::NAVLandmarkData_<ContainerAllocator> >
Ptr;
62 typedef std::shared_ptr< ::sick_scan_xd::NAVLandmarkData_<ContainerAllocator>
const>
ConstPtr;
75 template<
typename ContainerAllocator>
76 std::ostream&
operator<<(std::ostream& s, const ::sick_scan_xd::NAVLandmarkData_<ContainerAllocator> & v)
83 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
84 bool operator==(const ::sick_scan_xd::NAVLandmarkData_<ContainerAllocator1> & lhs, const ::sick_scan_xd::NAVLandmarkData_<ContainerAllocator2> & rhs)
86 return lhs.header == rhs.header &&
87 lhs.landmark_filter == rhs.landmark_filter &&
88 lhs.num_reflectors == rhs.num_reflectors &&
89 lhs.reflectors == rhs.reflectors;
92 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
93 bool operator!=(const ::sick_scan_xd::NAVLandmarkData_<ContainerAllocator1> & lhs, const ::sick_scan_xd::NAVLandmarkData_<ContainerAllocator2> & rhs)
103 namespace message_traits
110 template <
class ContainerAllocator>
115 template <
class ContainerAllocator>
120 template <
class ContainerAllocator>
125 template <
class ContainerAllocator>
130 template <
class ContainerAllocator>
135 template <
class ContainerAllocator>
141 template<
class ContainerAllocator>
146 return "6978f0aa2a911a9f94328887e912f9fb";
149 static const char*
value(const ::sick_scan_xd::NAVLandmarkData_<ContainerAllocator>&) {
return value(); }
150 static const uint64_t static_value1 = 0x6978f0aa2a911a9fULL;
151 static const uint64_t static_value2 = 0x94328887e912f9fbULL;
154 template<
class ContainerAllocator>
159 return "sick_scan/NAVLandmarkData";
162 static const char*
value(const ::sick_scan_xd::NAVLandmarkData_<ContainerAllocator>&) {
return value(); }
165 template<
class ContainerAllocator>
170 return "# ROS message of NAV350LandmarkData, see sick_nav_scandata_parser.h and NAV-350 telegram listing for details.\n"
171 "std_msgs/Header header\n"
173 "uint8 landmark_filter\n"
174 "uint16 num_reflectors\n"
175 "sick_scan/NAVReflectorData[] reflectors\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/NAVReflectorData\n"
195 "# ROS message of NAV350ReflectorData, see sick_nav_scandata_parser.h and NAV-350 telegram listing for details.\n"
197 "# cartesian data in lidar coordinates in mm\n"
198 "uint16 cartesian_data_valid\n"
202 "# polar data in lidar coordinates in mm and mdeg\n"
203 "uint16 polar_data_valid\n"
207 "# optional reflector data\n"
208 "uint16 opt_reflector_data_valid\n"
218 "uint16 start_index\n"
221 "# reflector position in ros coordinates\n"
222 "int8 pos_valid # pose_x, pose_y and pose_yaw are valid if pose_valid > 0\n"
223 "float32 pos_x # x position in ros coordinates in m\n"
224 "float32 pos_y # y position in ros coordinates in m\n"
228 static const char*
value(const ::sick_scan_xd::NAVLandmarkData_<ContainerAllocator>&) {
return value(); }
236 namespace serialization
241 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
243 stream.next(m.header);
244 stream.next(m.landmark_filter);
245 stream.next(m.num_reflectors);
246 stream.next(m.reflectors);
257 namespace message_operations
260 template<
class ContainerAllocator>
263 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sick_scan_xd::NAVLandmarkData_<ContainerAllocator>& v)
268 s <<
indent <<
"landmark_filter: ";
270 s <<
indent <<
"num_reflectors: ";
272 s <<
indent <<
"reflectors[]" << std::endl;
273 for (
size_t i = 0; i < v.reflectors.size(); ++i)
275 s <<
indent <<
" reflectors[" << i <<
"]: ";
286 #endif // SICK_SCAN_MESSAGE_NAVLANDMARKDATA_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)
::sick_scan_xd::NAVLandmarkData_< std::allocator< void > > NAVLandmarkData
static const char * value()
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 _num_reflectors_type
_num_reflectors_type num_reflectors
static const char * value(const ::sick_scan_xd::NAVLandmarkData_< ContainerAllocator > &)
static const char * value(const ::sick_scan_xd::NAVLandmarkData_< ContainerAllocator > &)
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...
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::NAVLandmarkData_< ContainerAllocator > &v)
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
std::shared_ptr< ::sick_scan_xd::NAVLandmarkData_< ContainerAllocator > > Ptr
static const char * value()
Specialize to provide the datatype for a message.
Specialize to provide the definition for a message.
NAVLandmarkData_< ContainerAllocator > Type
std::shared_ptr< ::sick_scan_xd::NAVLandmarkData const > NAVLandmarkDataConstPtr
_reflectors_type reflectors
static const char * value()
uint8_t _landmark_filter_type
std::vector< ::sick_scan_xd::NAVReflectorData_< ContainerAllocator >, typename std::allocator_traits< ContainerAllocator >::template rebind_alloc< ::sick_scan_xd::NAVReflectorData_< ContainerAllocator > > > _reflectors_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.
_landmark_filter_type landmark_filter
::std_msgs::Header_< ContainerAllocator > _header_type
bool operator==(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
std::shared_ptr< ::sick_scan_xd::NAVLandmarkData > NAVLandmarkDataPtr
static const char * value(const ::sick_scan_xd::NAVLandmarkData_< ContainerAllocator > &)
Stream base-class, provides common functionality for IStream and OStream.
static void allInOne(Stream &stream, T m)
NAVLandmarkData_(const ContainerAllocator &_alloc)
std::shared_ptr< ::sick_scan_xd::NAVLandmarkData_< ContainerAllocator > const > ConstPtr
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:09