6 #ifndef SICK_SCAN_MESSAGE_SICKDEVGETLIDARCONFIGSRVRESPONSE_H
7 #define SICK_SCAN_MESSAGE_SICKDEVGETLIDARCONFIGSRVRESPONSE_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
22 template <
class ContainerAllocator>
85 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_ip_type;
104 typedef std::shared_ptr< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator> >
Ptr;
105 typedef std::shared_ptr< ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator>
const>
ConstPtr;
118 template<
typename ContainerAllocator>
119 std::ostream&
operator<<(std::ostream& s, const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator> & v)
126 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
127 bool operator==(const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator2> & rhs)
129 return lhs.minrange == rhs.minrange &&
130 lhs.maxrange == rhs.maxrange &&
131 lhs.minangle == rhs.minangle &&
132 lhs.maxangle == rhs.maxangle &&
135 lhs.yaw == rhs.yaw &&
136 lhs.upsidedown == rhs.upsidedown &&
138 lhs.port == rhs.port &&
139 lhs.interfacetype == rhs.interfacetype &&
140 lhs.maplayer == rhs.maplayer &&
141 lhs.active == rhs.active;
144 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
145 bool operator!=(const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator2> & rhs)
147 return !(lhs == rhs);
155 namespace message_traits
162 template <
class ContainerAllocator>
167 template <
class ContainerAllocator>
172 template <
class ContainerAllocator>
177 template <
class ContainerAllocator>
182 template <
class ContainerAllocator>
187 template <
class ContainerAllocator>
193 template<
class ContainerAllocator>
198 return "462ad504bef4344113127040feff08e1";
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;
206 template<
class ContainerAllocator>
211 return "sick_scan/SickDevGetLidarConfigSrvResponse";
214 static const char*
value(const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator>&) {
return value(); }
217 template<
class ContainerAllocator>
224 "# Response (output)\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"
244 static const char*
value(const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator>&) {
return value(); }
252 namespace serialization
257 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
259 stream.next(m.minrange);
260 stream.next(m.maxrange);
261 stream.next(m.minangle);
262 stream.next(m.maxangle);
266 stream.next(m.upsidedown);
269 stream.next(m.interfacetype);
270 stream.next(m.maplayer);
271 stream.next(m.active);
282 namespace message_operations
285 template<
class ContainerAllocator>
288 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sick_scan_xd::SickDevGetLidarConfigSrvResponse_<ContainerAllocator>& v)
310 s <<
indent <<
"interfacetype: ";
322 #endif // SICK_SCAN_MESSAGE_SICKDEVGETLIDARCONFIGSRVRESPONSE_H