SickDevGetLidarConfigSrvResponse.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/SickDevGetLidarConfigSrvResponse.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_SICKDEVGETLIDARCONFIGSRVRESPONSE_H
7 #define SICK_SCAN_MESSAGE_SICKDEVGETLIDARCONFIGSRVRESPONSE_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 
20 namespace sick_scan_xd
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : minrange(0)
29  , maxrange(0)
30  , minangle(0)
31  , maxangle(0)
32  , x(0)
33  , y(0)
34  , yaw(0)
35  , upsidedown(false)
36  , ip()
37  , port(0)
38  , interfacetype(0)
39  , maplayer(0)
40  , active(false) {
41  }
42  SickDevGetLidarConfigSrvResponse_(const ContainerAllocator& _alloc)
43  : minrange(0)
44  , maxrange(0)
45  , minangle(0)
46  , maxangle(0)
47  , x(0)
48  , y(0)
49  , yaw(0)
50  , upsidedown(false)
51  , ip(_alloc)
52  , port(0)
53  , interfacetype(0)
54  , maplayer(0)
55  , active(false) {
56  (void)_alloc;
57  }
58 
59 
60 
61  typedef uint32_t _minrange_type;
63 
64  typedef uint32_t _maxrange_type;
66 
67  typedef int32_t _minangle_type;
69 
70  typedef int32_t _maxangle_type;
72 
73  typedef int32_t _x_type;
75 
76  typedef int32_t _y_type;
78 
79  typedef int32_t _yaw_type;
81 
82  typedef uint8_t _upsidedown_type;
84 
85  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _ip_type;
87 
88  typedef uint32_t _port_type;
90 
91  typedef int32_t _interfacetype_type;
93 
94  typedef uint32_t _maplayer_type;
96 
97  typedef uint8_t _active_type;
99 
100 
101 
102 
103 
104  typedef std::shared_ptr< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator> > Ptr;
105  typedef std::shared_ptr< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator> const> ConstPtr;
106 
107 }; // struct SickDevGetLidarConfigSrvResponse_
108 
109 typedef ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<std::allocator<void> > SickDevGetLidarConfigSrvResponse;
110 
111 typedef std::shared_ptr< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse > SickDevGetLidarConfigSrvResponsePtr;
112 typedef std::shared_ptr< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse const> SickDevGetLidarConfigSrvResponseConstPtr;
113 
114 // constants requiring out of line definition
115 
116 
117 
118 template<typename ContainerAllocator>
119 std::ostream& operator<<(std::ostream& s, const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator> & v)
120 {
122 return s;
123 }
124 
125 
126 template<typename ContainerAllocator1, typename ContainerAllocator2>
127 bool operator==(const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator2> & rhs)
128 {
129  return lhs.minrange == rhs.minrange &&
130  lhs.maxrange == rhs.maxrange &&
131  lhs.minangle == rhs.minangle &&
132  lhs.maxangle == rhs.maxangle &&
133  lhs.x == rhs.x &&
134  lhs.y == rhs.y &&
135  lhs.yaw == rhs.yaw &&
136  lhs.upsidedown == rhs.upsidedown &&
137  lhs.ip == rhs.ip &&
138  lhs.port == rhs.port &&
139  lhs.interfacetype == rhs.interfacetype &&
140  lhs.maplayer == rhs.maplayer &&
141  lhs.active == rhs.active;
142 }
143 
144 template<typename ContainerAllocator1, typename ContainerAllocator2>
145 bool operator!=(const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator2> & rhs)
146 {
147  return !(lhs == rhs);
148 }
149 
150 
151 } // namespace sick_scan_xd
152 
153 namespace roswrap
154 {
155 namespace message_traits
156 {
157 
158 
159 
160 
161 
162 template <class ContainerAllocator>
164  : FalseType
165  { };
166 
167 template <class ContainerAllocator>
169  : FalseType
170  { };
171 
172 template <class ContainerAllocator>
174  : TrueType
175  { };
176 
177 template <class ContainerAllocator>
179  : TrueType
180  { };
181 
182 template <class ContainerAllocator>
184  : FalseType
185  { };
186 
187 template <class ContainerAllocator>
189  : FalseType
190  { };
191 
192 
193 template<class ContainerAllocator>
195 {
196  static const char* value()
197  {
198  return "462ad504bef4344113127040feff08e1";
199  }
200 
201  static const char* value(const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator>&) { return value(); }
202  static const uint64_t static_value1 = 0x462ad504bef43441ULL;
203  static const uint64_t static_value2 = 0x13127040feff08e1ULL;
204 };
205 
206 template<class ContainerAllocator>
208 {
209  static const char* value()
210  {
211  return "sick_scan/SickDevGetLidarConfigSrvResponse";
212  }
213 
214  static const char* value(const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator>&) { return value(); }
215 };
216 
217 template<class ContainerAllocator>
219 {
220  static const char* value()
221  {
222  return "\n"
223 "# \n"
224 "# Response (output)\n"
225 "# \n"
226 "\n"
227 "uint32 minrange # Beams with a range lower than this distance will be discarded. [<min>, 250000] in [mm] \n"
228 "uint32 maxrange # Beams with a range greater than this distance will be discarded. [<min>, 250000] in [mm] \n"
229 "int32 minangle # Beams with an angle lower than this threshold will be discarded. [-180000, 180000] in [mdeg] \n"
230 "int32 maxangle # Beams with an angle greater than this threshold will be discarded. [-180000, 180000] in [mdeg] \n"
231 "int32 x # X position relative to vehicle coordinate system. [-50000, 50000] in [mm] \n"
232 "int32 y # Y position relative to vehicle coordinate system. [-50000, 50000] in [mm] \n"
233 "int32 yaw # Yaw angle relative to vehicle coordinate system. [-180000, 180000] in [mdeg] \n"
234 "bool upsidedown # Whether the sensor is mounted upside down. {0 (false), 1 (true)} \n"
235 "string ip # IP address of the sensor. Must be in the same subnet as the port which it is connected to. Max length = 15 \n"
236 "uint32 port # COLA Port of the scanner used for communication. This is usually 2111 or 2122. [0, 65535] \n"
237 "int32 interfacetype # The type of the interface to this lidar. {0 (TCP), 1 (SERIAL)} \n"
238 "uint32 maplayer # The index of the map layer on which this LiDAR operates. If no map layers are used, set it to 0. NOTE: This feature is not implemented yet but is reserved for later releases. [<min>, <max>] \n"
239 "bool active # Whether this scanner shall be used for localization. For the LiDAR with the index 0 this should be always 1 (true). {0 (false), 1 (true)} \n"
240 "\n"
241 ;
242  }
243 
244  static const char* value(const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator>&) { return value(); }
245 };
246 
247 } // namespace message_traits
248 } // namespace roswrap
249 
250 namespace roswrap
251 {
252 namespace serialization
253 {
254 
255  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator> >
256  {
257  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
258  {
259  stream.next(m.minrange);
260  stream.next(m.maxrange);
261  stream.next(m.minangle);
262  stream.next(m.maxangle);
263  stream.next(m.x);
264  stream.next(m.y);
265  stream.next(m.yaw);
266  stream.next(m.upsidedown);
267  stream.next(m.ip);
268  stream.next(m.port);
269  stream.next(m.interfacetype);
270  stream.next(m.maplayer);
271  stream.next(m.active);
272  }
273 
275  }; // struct SickDevGetLidarConfigSrvResponse_
276 
277 } // namespace serialization
278 } // namespace roswrap
279 
280 namespace roswrap
281 {
282 namespace message_operations
283 {
284 
285 template<class ContainerAllocator>
287 {
288  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator>& v)
289  {
290  s << indent << "minrange: ";
291  Printer<uint32_t>::stream(s, indent + " ", v.minrange);
292  s << indent << "maxrange: ";
293  Printer<uint32_t>::stream(s, indent + " ", v.maxrange);
294  s << indent << "minangle: ";
295  Printer<int32_t>::stream(s, indent + " ", v.minangle);
296  s << indent << "maxangle: ";
297  Printer<int32_t>::stream(s, indent + " ", v.maxangle);
298  s << indent << "x: ";
299  Printer<int32_t>::stream(s, indent + " ", v.x);
300  s << indent << "y: ";
301  Printer<int32_t>::stream(s, indent + " ", v.y);
302  s << indent << "yaw: ";
303  Printer<int32_t>::stream(s, indent + " ", v.yaw);
304  s << indent << "upsidedown: ";
305  Printer<uint8_t>::stream(s, indent + " ", v.upsidedown);
306  s << indent << "ip: ";
307  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.ip);
308  s << indent << "port: ";
309  Printer<uint32_t>::stream(s, indent + " ", v.port);
310  s << indent << "interfacetype: ";
311  Printer<int32_t>::stream(s, indent + " ", v.interfacetype);
312  s << indent << "maplayer: ";
313  Printer<uint32_t>::stream(s, indent + " ", v.maplayer);
314  s << indent << "active: ";
315  Printer<uint8_t>::stream(s, indent + " ", v.active);
316  }
317 };
318 
319 } // namespace message_operations
320 } // namespace roswrap
321 
322 #endif // SICK_SCAN_MESSAGE_SICKDEVGETLIDARCONFIGSRVRESPONSE_H
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::ConstPtr
std::shared_ptr< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_< ContainerAllocator > const > ConstPtr
Definition: SickDevGetLidarConfigSrvResponse.h:105
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
roswrap::serialization::Serializer< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: SickDevGetLidarConfigSrvResponse.h:257
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
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::maxrange
_maxrange_type maxrange
Definition: SickDevGetLidarConfigSrvResponse.h:65
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::maxangle
_maxangle_type maxangle
Definition: SickDevGetLidarConfigSrvResponse.h:71
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
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::_yaw_type
int32_t _yaw_type
Definition: SickDevGetLidarConfigSrvResponse.h:79
roswrap::message_traits::DataType< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickDevGetLidarConfigSrvResponse.h:209
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
roswrap::message_traits::DataType< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_< ContainerAllocator > &)
Definition: SickDevGetLidarConfigSrvResponse.h:214
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::maplayer
_maplayer_type maplayer
Definition: SickDevGetLidarConfigSrvResponse.h:95
roswrap::message_traits::Definition< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickDevGetLidarConfigSrvResponse.h:220
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_< ContainerAllocator > &)
Definition: SickDevGetLidarConfigSrvResponse.h:201
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::_maplayer_type
uint32_t _maplayer_type
Definition: SickDevGetLidarConfigSrvResponse.h:94
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::SickDevGetLidarConfigSrvResponse_::_maxangle_type
int32_t _maxangle_type
Definition: SickDevGetLidarConfigSrvResponse.h:70
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::_port_type
uint32_t _port_type
Definition: SickDevGetLidarConfigSrvResponse.h:88
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::upsidedown
_upsidedown_type upsidedown
Definition: SickDevGetLidarConfigSrvResponse.h:83
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
sick_scan_xd
Definition: abstract_parser.cpp:65
roswrap::message_traits::Definition< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_< ContainerAllocator > &)
Definition: SickDevGetLidarConfigSrvResponse.h:244
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_< ContainerAllocator > >::value
static const char * value()
Definition: SickDevGetLidarConfigSrvResponse.h:196
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::_minangle_type
int32_t _minangle_type
Definition: SickDevGetLidarConfigSrvResponse.h:67
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::_upsidedown_type
uint8_t _upsidedown_type
Definition: SickDevGetLidarConfigSrvResponse.h:82
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::interfacetype
_interfacetype_type interfacetype
Definition: SickDevGetLidarConfigSrvResponse.h:92
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::ip
_ip_type ip
Definition: SickDevGetLidarConfigSrvResponse.h:86
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::_maxrange_type
uint32_t _maxrange_type
Definition: SickDevGetLidarConfigSrvResponse.h:64
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::minrange
_minrange_type minrange
Definition: SickDevGetLidarConfigSrvResponse.h:62
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::Type
SickDevGetLidarConfigSrvResponse_< ContainerAllocator > Type
Definition: SickDevGetLidarConfigSrvResponse.h:25
sick_scan_xd::SickDevGetLidarConfigSrvResponse
::sick_scan_xd::SickDevGetLidarConfigSrvResponse_< std::allocator< void > > SickDevGetLidarConfigSrvResponse
Definition: SickDevGetLidarConfigSrvResponse.h:109
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::SickDevGetLidarConfigSrvResponse_
SickDevGetLidarConfigSrvResponse_()
Definition: SickDevGetLidarConfigSrvResponse.h:27
sick_scan_xd::SickDevGetLidarConfigSrvResponseConstPtr
std::shared_ptr< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse const > SickDevGetLidarConfigSrvResponseConstPtr
Definition: SickDevGetLidarConfigSrvResponse.h:112
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::active
_active_type active
Definition: SickDevGetLidarConfigSrvResponse.h:98
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::_y_type
int32_t _y_type
Definition: SickDevGetLidarConfigSrvResponse.h:76
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::_x_type
int32_t _x_type
Definition: SickDevGetLidarConfigSrvResponse.h:73
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::yaw
_yaw_type yaw
Definition: SickDevGetLidarConfigSrvResponse.h:80
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::SickDevGetLidarConfigSrvResponse_
SickDevGetLidarConfigSrvResponse_(const ContainerAllocator &_alloc)
Definition: SickDevGetLidarConfigSrvResponse.h:42
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::x
_x_type x
Definition: SickDevGetLidarConfigSrvResponse.h:74
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::minangle
_minangle_type minangle
Definition: SickDevGetLidarConfigSrvResponse.h:68
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_operations::Printer< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_< ContainerAllocator > &v)
Definition: SickDevGetLidarConfigSrvResponse.h:288
roswrap::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:118
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::_minrange_type
uint32_t _minrange_type
Definition: SickDevGetLidarConfigSrvResponse.h:61
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::Ptr
std::shared_ptr< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_< ContainerAllocator > > Ptr
Definition: SickDevGetLidarConfigSrvResponse.h:104
sick_scan_xd::SickDevGetLidarConfigSrvResponsePtr
std::shared_ptr< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse > SickDevGetLidarConfigSrvResponsePtr
Definition: SickDevGetLidarConfigSrvResponse.h:111
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
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::y
_y_type y
Definition: SickDevGetLidarConfigSrvResponse.h:77
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::_active_type
uint8_t _active_type
Definition: SickDevGetLidarConfigSrvResponse.h:97
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::_ip_type
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _ip_type
Definition: SickDevGetLidarConfigSrvResponse.h:85
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::_interfacetype_type
int32_t _interfacetype_type
Definition: SickDevGetLidarConfigSrvResponse.h:91
sick_scan_xd::SickDevGetLidarConfigSrvResponse_::port
_port_type port
Definition: SickDevGetLidarConfigSrvResponse.h:89
sick_scan_xd::SickDevGetLidarConfigSrvResponse_
Definition: SickDevGetLidarConfigSrvResponse.h:23


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