MultiEchoLaserScan.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 sensor_msgs/MultiEchoLaserScan.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SENSOR_MSGS_MESSAGE_MULTIECHOLASERSCAN_H
7 #define SENSOR_MSGS_MESSAGE_MULTIECHOLASERSCAN_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>
20 #include <sensor_msgs/LaserEcho.h>
21 #include <sensor_msgs/LaserEcho.h>
22 
23 namespace sensor_msgs
24 {
25 template <class ContainerAllocator>
27 {
29 
31  : header()
32  , angle_min(0.0)
33  , angle_max(0.0)
34  , angle_increment(0.0)
35  , time_increment(0.0)
36  , scan_time(0.0)
37  , range_min(0.0)
38  , range_max(0.0)
39  , ranges()
40  , intensities() {
41  }
42  MultiEchoLaserScan_(const ContainerAllocator& _alloc)
43  : header(_alloc)
44  , angle_min(0.0)
45  , angle_max(0.0)
46  , angle_increment(0.0)
47  , time_increment(0.0)
48  , scan_time(0.0)
49  , range_min(0.0)
50  , range_max(0.0)
51  , ranges(_alloc)
52  , intensities(_alloc) {
53  (void)_alloc;
54  }
55 
56 
57 
58  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
60 
61  typedef float _angle_min_type;
63 
64  typedef float _angle_max_type;
66 
67  typedef float _angle_increment_type;
69 
70  typedef float _time_increment_type;
72 
73  typedef float _scan_time_type;
75 
76  typedef float _range_min_type;
78 
79  typedef float _range_max_type;
81 
82  typedef std::vector< ::sensor_msgs::LaserEcho_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::LaserEcho_<ContainerAllocator> >::other > _ranges_type;
84 
85  typedef std::vector< ::sensor_msgs::LaserEcho_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::LaserEcho_<ContainerAllocator> >::other > _intensities_type;
87 
88 
89 
90 
91  typedef std::shared_ptr< ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator> > Ptr;
92  typedef std::shared_ptr< ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator> const> ConstPtr;
93 
94 }; // struct MultiEchoLaserScan_
95 
96 typedef ::sensor_msgs::MultiEchoLaserScan_<std::allocator<void> > MultiEchoLaserScan;
97 
98 typedef std::shared_ptr< ::sensor_msgs::MultiEchoLaserScan > MultiEchoLaserScanPtr;
99 typedef std::shared_ptr< ::sensor_msgs::MultiEchoLaserScan const> MultiEchoLaserScanConstPtr;
100 
101 // constants requiring out of line definition
102 
103 
104 
105 template<typename ContainerAllocator>
106 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator> & v)
107 {
109 return s;
110 }
111 
112 } // namespace sensor_msgs
113 
114 namespace roswrap
115 {
116 namespace message_traits
117 {
118 
119 
120 
121 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': True}
122 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'sensor_msgs': ['/tmp/binarydeb/ros-kinetic-sensor-msgs-1.12.5/msg']}
123 
124 // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
125 
126 
127 
128 
129 template <class ContainerAllocator>
130 struct IsFixedSize< ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator> >
131  : FalseType
132  { };
133 
134 template <class ContainerAllocator>
135 struct IsFixedSize< ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator> const>
136  : FalseType
137  { };
138 
139 template <class ContainerAllocator>
140 struct IsMessage< ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator> >
141  : TrueType
142  { };
143 
144 template <class ContainerAllocator>
145 struct IsMessage< ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator> const>
146  : TrueType
147  { };
148 
149 template <class ContainerAllocator>
150 struct HasHeader< ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator> >
151  : TrueType
152  { };
153 
154 template <class ContainerAllocator>
155 struct HasHeader< ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator> const>
156  : TrueType
157  { };
158 
159 
160 template<class ContainerAllocator>
161 struct MD5Sum< ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator> >
162 {
163  static const char* value()
164  {
165  return "6fefb0c6da89d7c8abe4b339f5c2f8fb";
166  }
167 
168  static const char* value(const ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator>&) { return value(); }
169  static const uint64_t static_value1 = 0x6fefb0c6da89d7c8ULL;
170  static const uint64_t static_value2 = 0xabe4b339f5c2f8fbULL;
171 };
172 
173 template<class ContainerAllocator>
174 struct DataType< ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator> >
175 {
176  static const char* value()
177  {
178  return "sensor_msgs/MultiEchoLaserScan";
179  }
180 
181  static const char* value(const ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator>&) { return value(); }
182 };
183 
184 template<class ContainerAllocator>
185 struct Definition< ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator> >
186 {
187  static const char* value()
188  {
189  return "# Single scan from a multi-echo planar laser range-finder\n\
190 #\n\
191 # If you have another ranging device with different behavior (e.g. a sonar\n\
192 # array), please find or create a different message, since applications\n\
193 # will make fairly laser-specific assumptions about this data\n\
194 \n\
195 Header header # timestamp in the header is the acquisition time of \n\
196  # the first ray in the scan.\n\
197  #\n\
198  # in frame frame_id, angles are measured around \n\
199  # the positive Z axis (counterclockwise, if Z is up)\n\
200  # with zero angle being forward along the x axis\n\
201  \n\
202 float32 angle_min # start angle of the scan [rad]\n\
203 float32 angle_max # end angle of the scan [rad]\n\
204 float32 angle_increment # angular distance between measurements [rad]\n\
205 \n\
206 float32 time_increment # time between measurements [seconds] - if your scanner\n\
207  # is moving, this will be used in interpolating position\n\
208  # of 3d points\n\
209 float32 scan_time # time between scans [seconds]\n\
210 \n\
211 float32 range_min # minimum range value [m]\n\
212 float32 range_max # maximum range value [m]\n\
213 \n\
214 LaserEcho[] ranges # range data [m] (Note: NaNs, values < range_min or > range_max should be discarded)\n\
215  # +Inf measurements are out of range\n\
216  # -Inf measurements are too close to determine exact distance.\n\
217 LaserEcho[] intensities # intensity data [device-specific units]. If your\n\
218  # device does not provide intensities, please leave\n\
219  # the array empty.\n\
220 ================================================================================\n\
221 MSG: std_msgs/Header\n\
222 # Standard metadata for higher-level stamped data types.\n\
223 # This is generally used to communicate timestamped data \n\
224 # in a particular coordinate frame.\n\
225 # \n\
226 # sequence ID: consecutively increasing ID \n\
227 uint32 seq\n\
228 #Two-integer timestamp that is expressed as:\n\
229 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
230 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
231 # time-handling sugar is provided by the client library\n\
232 time stamp\n\
233 #Frame this data is associated with\n\
234 # 0: no frame\n\
235 # 1: global frame\n\
236 string frame_id\n\
237 \n\
238 ================================================================================\n\
239 MSG: sensor_msgs/LaserEcho\n\
240 # This message is a submessage of MultiEchoLaserScan and is not intended\n\
241 # to be used separately.\n\
242 \n\
243 float32[] echoes # Multiple values of ranges or intensities.\n\
244  # Each array represents data from the same angle increment.\n\
245 ";
246  }
247 
248  static const char* value(const ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator>&) { return value(); }
249 };
250 
251 } // namespace message_traits
252 } // namespace roswrap
253 
254 namespace roswrap
255 {
256 namespace serialization
257 {
258 
259  template<class ContainerAllocator> struct Serializer< ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator> >
260  {
261  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
262  {
263  stream.next(m.header);
264  stream.next(m.angle_min);
265  stream.next(m.angle_max);
266  stream.next(m.angle_increment);
267  stream.next(m.time_increment);
268  stream.next(m.scan_time);
269  stream.next(m.range_min);
270  stream.next(m.range_max);
271  stream.next(m.ranges);
272  stream.next(m.intensities);
273  }
274 
276  }; // struct MultiEchoLaserScan_
277 
278 } // namespace serialization
279 } // namespace roswrap
280 
281 namespace roswrap
282 {
283 namespace message_operations
284 {
285 
286 template<class ContainerAllocator>
287 struct Printer< ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator> >
288 {
289  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::MultiEchoLaserScan_<ContainerAllocator>& v)
290  {
291  s << indent << "header: ";
292  s << std::endl;
294  s << indent << "angle_min: ";
295  Printer<float>::stream(s, indent + " ", v.angle_min);
296  s << indent << "angle_max: ";
297  Printer<float>::stream(s, indent + " ", v.angle_max);
298  s << indent << "angle_increment: ";
299  Printer<float>::stream(s, indent + " ", v.angle_increment);
300  s << indent << "time_increment: ";
301  Printer<float>::stream(s, indent + " ", v.time_increment);
302  s << indent << "scan_time: ";
303  Printer<float>::stream(s, indent + " ", v.scan_time);
304  s << indent << "range_min: ";
305  Printer<float>::stream(s, indent + " ", v.range_min);
306  s << indent << "range_max: ";
307  Printer<float>::stream(s, indent + " ", v.range_max);
308  s << indent << "ranges[]" << std::endl;
309  for (size_t i = 0; i < v.ranges.size(); ++i)
310  {
311  s << indent << " ranges[" << i << "]: ";
312  s << std::endl;
313  s << indent;
315  }
316  s << indent << "intensities[]" << std::endl;
317  for (size_t i = 0; i < v.intensities.size(); ++i)
318  {
319  s << indent << " intensities[" << i << "]: ";
320  s << std::endl;
321  s << indent;
323  }
324  }
325 };
326 
327 } // namespace message_operations
328 } // namespace roswrap
329 
330 #endif // SENSOR_MSGS_MESSAGE_MULTIECHOLASERSCAN_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
sensor_msgs::MultiEchoLaserScan_::angle_increment
_angle_increment_type angle_increment
Definition: MultiEchoLaserScan.h:68
sensor_msgs::MultiEchoLaserScan_::ConstPtr
std::shared_ptr< ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > const > ConstPtr
Definition: MultiEchoLaserScan.h:92
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
sensor_msgs::MultiEchoLaserScan
::sensor_msgs::MultiEchoLaserScan_< std::allocator< void > > MultiEchoLaserScan
Definition: MultiEchoLaserScan.h:96
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
sensor_msgs::MultiEchoLaserScan_::header
_header_type header
Definition: MultiEchoLaserScan.h:59
sensor_msgs::MultiEchoLaserScan_::_range_max_type
float _range_max_type
Definition: MultiEchoLaserScan.h:79
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
sensor_msgs::MultiEchoLaserScan_::angle_min
_angle_min_type angle_min
Definition: MultiEchoLaserScan.h:62
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
sensor_msgs::MultiEchoLaserScan_::range_min
_range_min_type range_min
Definition: MultiEchoLaserScan.h:77
roswrap::message_traits::DataType< ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > &)
Definition: MultiEchoLaserScan.h:181
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
roswrap::message_traits::MD5Sum< ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > &)
Definition: MultiEchoLaserScan.h:168
sensor_msgs::MultiEchoLaserScan_::_angle_increment_type
float _angle_increment_type
Definition: MultiEchoLaserScan.h:67
roswrap::message_traits::Definition< ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > >::value
static const char * value()
Definition: MultiEchoLaserScan.h:187
sensor_msgs::MultiEchoLaserScan_::_ranges_type
std::vector< ::sensor_msgs::LaserEcho_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::sensor_msgs::LaserEcho_< ContainerAllocator > >::other > _ranges_type
Definition: MultiEchoLaserScan.h:82
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
sensor_msgs::MultiEchoLaserScan_::ranges
_ranges_type ranges
Definition: MultiEchoLaserScan.h:83
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
sensor_msgs::MultiEchoLaserScan_::MultiEchoLaserScan_
MultiEchoLaserScan_(const ContainerAllocator &_alloc)
Definition: MultiEchoLaserScan.h:42
sensor_msgs::MultiEchoLaserScan_::range_max
_range_max_type range_max
Definition: MultiEchoLaserScan.h:80
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
sensor_msgs::MultiEchoLaserScan_::angle_max
_angle_max_type angle_max
Definition: MultiEchoLaserScan.h:65
sensor_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
Definition: BatteryState.h:187
sensor_msgs::MultiEchoLaserScan_::_range_min_type
float _range_min_type
Definition: MultiEchoLaserScan.h:76
roswrap::message_traits::Definition< ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > &)
Definition: MultiEchoLaserScan.h:248
LaserEcho.h
roswrap
Definition: param_modi.cpp:41
sensor_msgs::MultiEchoLaserScan_::time_increment
_time_increment_type time_increment
Definition: MultiEchoLaserScan.h:71
roswrap::message_operations::Printer
Definition: message_operations.h:40
std_msgs::Header_
Definition: Header.h:23
sensor_msgs::MultiEchoLaserScan_::scan_time
_scan_time_type scan_time
Definition: MultiEchoLaserScan.h:74
roswrap::serialization::Serializer< ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: MultiEchoLaserScan.h:261
sensor_msgs::MultiEchoLaserScan_::_angle_max_type
float _angle_max_type
Definition: MultiEchoLaserScan.h:64
sensor_msgs::MultiEchoLaserScan_::Type
MultiEchoLaserScan_< ContainerAllocator > Type
Definition: MultiEchoLaserScan.h:28
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
sensor_msgs::MultiEchoLaserScan_
Definition: MultiEchoLaserScan.h:26
roswrap::message_operations::Printer< ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > &v)
Definition: MultiEchoLaserScan.h:289
sensor_msgs::MultiEchoLaserScan_::_time_increment_type
float _time_increment_type
Definition: MultiEchoLaserScan.h:70
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sensor_msgs::MultiEchoLaserScan_::MultiEchoLaserScan_
MultiEchoLaserScan_()
Definition: MultiEchoLaserScan.h:30
sensor_msgs::MultiEchoLaserScan_::_intensities_type
std::vector< ::sensor_msgs::LaserEcho_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::sensor_msgs::LaserEcho_< ContainerAllocator > >::other > _intensities_type
Definition: MultiEchoLaserScan.h:85
sensor_msgs::MultiEchoLaserScan_::_angle_min_type
float _angle_min_type
Definition: MultiEchoLaserScan.h:61
sensor_msgs::MultiEchoLaserScan_::_header_type
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: MultiEchoLaserScan.h:58
roswrap::message_traits::MD5Sum< ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > >::value
static const char * value()
Definition: MultiEchoLaserScan.h:163
sensor_msgs::MultiEchoLaserScan_::_scan_time_type
float _scan_time_type
Definition: MultiEchoLaserScan.h:73
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sensor_msgs::MultiEchoLaserScan_::Ptr
std::shared_ptr< ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > > Ptr
Definition: MultiEchoLaserScan.h:91
roswrap::message_traits::DataType< ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > >::value
static const char * value()
Definition: MultiEchoLaserScan.h:176
sensor_msgs
Tools for manipulating sensor_msgs.
Header.h
sensor_msgs::MultiEchoLaserScanConstPtr
std::shared_ptr< ::sensor_msgs::MultiEchoLaserScan const > MultiEchoLaserScanConstPtr
Definition: MultiEchoLaserScan.h:99
sensor_msgs::MultiEchoLaserScan_::intensities
_intensities_type intensities
Definition: MultiEchoLaserScan.h:86
sensor_msgs::MultiEchoLaserScanPtr
std::shared_ptr< ::sensor_msgs::MultiEchoLaserScan > MultiEchoLaserScanPtr
Definition: MultiEchoLaserScan.h:98


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