5 #ifndef SENSOR_MSGS_MESSAGE_RANGE_H 6 #define SENSOR_MSGS_MESSAGE_RANGE_H 22 template <
class ContainerAllocator>
35 Range_(
const ContainerAllocator& _alloc)
75 typedef ::sensor_msgs::Range_<std::allocator<void> >
Range;
88 template<
typename ContainerAllocator>
89 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::Range_<ContainerAllocator> &
v)
99 namespace message_traits
112 template <
class ContainerAllocator>
117 template <
class ContainerAllocator>
122 template <
class ContainerAllocator>
127 template <
class ContainerAllocator>
132 template <
class ContainerAllocator>
137 template <
class ContainerAllocator>
143 template<
class ContainerAllocator>
148 return "c005c34273dc426c67a020a87bc24148";
151 static const char*
value(const ::sensor_msgs::Range_<ContainerAllocator>&) {
return value(); }
152 static const uint64_t static_value1 = 0xc005c34273dc426cULL;
153 static const uint64_t static_value2 = 0x67a020a87bc24148ULL;
156 template<
class ContainerAllocator>
161 return "sensor_msgs/Range";
164 static const char*
value(const ::sensor_msgs::Range_<ContainerAllocator>&) {
return value(); }
167 template<
class ContainerAllocator>
172 return "# Single range reading from an active ranger that emits energy and reports\n\ 173 # one range reading that is valid along an arc at the distance measured. \n\ 174 # This message is not appropriate for laser scanners. See the LaserScan\n\ 175 # message if you are working with a laser scanner.\n\ 177 # This message also can represent a fixed-distance (binary) ranger. This\n\ 178 # sensor will have min_range===max_range===distance of detection.\n\ 179 # These sensors follow REP 117 and will output -Inf if the object is detected\n\ 180 # and +Inf if the object is outside of the detection range.\n\ 182 Header header # timestamp in the header is the time the ranger\n\ 183 # returned the distance reading\n\ 185 # Radiation type enums\n\ 186 # If you want a value added to this list, send an email to the ros-users list\n\ 187 uint8 ULTRASOUND=0\n\ 190 uint8 radiation_type # the type of radiation used by the sensor\n\ 191 # (sound, IR, etc) [enum]\n\ 193 float32 field_of_view # the size of the arc that the distance reading is\n\ 195 # the object causing the range reading may have\n\ 196 # been anywhere within -field_of_view/2 and\n\ 197 # field_of_view/2 at the measured range. \n\ 198 # 0 angle corresponds to the x-axis of the sensor.\n\ 200 float32 min_range # minimum range value [m]\n\ 201 float32 max_range # maximum range value [m]\n\ 202 # Fixed distance rangers require min_range==max_range\n\ 204 float32 range # range data [m]\n\ 205 # (Note: values < range_min or > range_max\n\ 206 # should be discarded)\n\ 207 # Fixed distance rangers only output -Inf or +Inf.\n\ 208 # -Inf represents a detection within fixed distance.\n\ 209 # (Detection too close to the sensor to quantify)\n\ 210 # +Inf represents no detection within the fixed distance.\n\ 211 # (Object out of range)\n\ 212 ================================================================================\n\ 213 MSG: std_msgs/Header\n\ 214 # Standard metadata for higher-level stamped data types.\n\ 215 # This is generally used to communicate timestamped data \n\ 216 # in a particular coordinate frame.\n\ 218 # sequence ID: consecutively increasing ID \n\ 220 #Two-integer timestamp that is expressed as:\n\ 221 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\ 222 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\ 223 # time-handling sugar is provided by the client library\n\ 225 #Frame this data is associated with\n\ 232 static const char*
value(const ::sensor_msgs::Range_<ContainerAllocator>&) {
return value(); }
240 namespace serialization
247 stream.next(m.header);
248 stream.next(m.radiation_type);
249 stream.next(m.field_of_view);
250 stream.next(m.min_range);
251 stream.next(m.max_range);
252 stream.next(m.range);
263 namespace message_operations
266 template<
class ContainerAllocator>
269 template<
typename Stream>
static void stream(Stream&
s,
const std::string& indent, const ::sensor_msgs::Range_<ContainerAllocator>&
v)
271 s << indent <<
"header: ";
274 s << indent <<
"radiation_type: ";
276 s << indent <<
"field_of_view: ";
278 s << indent <<
"min_range: ";
280 s << indent <<
"max_range: ";
282 s << indent <<
"range: ";
290 #endif // SENSOR_MSGS_MESSAGE_RANGE_H
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
::std_msgs::Header_< ContainerAllocator > _header_type
Specialize to provide the md5sum for a message.
boost::shared_ptr< ::sensor_msgs::Range > RangePtr
::sensor_msgs::Range_< std::allocator< void > > Range
_max_range_type max_range
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
boost::shared_ptr< ::sensor_msgs::Range const > RangeConstPtr
static void allInOne(Stream &stream, T m)
GLsizei const GLchar *const * string
boost::shared_ptr< ::sensor_msgs::Range_< ContainerAllocator > > Ptr
Specialize to provide the datatype for a message.
static const char * value()
float _field_of_view_type
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 ::sensor_msgs::Range_< ContainerAllocator > &v)
static const char * value()
Stream base-class, provides common functionality for IStream and OStream.
boost::shared_ptr< ::sensor_msgs::Range_< ContainerAllocator > const > ConstPtr
_min_range_type min_range
Tools for manipulating sensor_msgs.
static const char * value(const ::sensor_msgs::Range_< ContainerAllocator > &)
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
Specialize to provide the definition for a message.
static const char * value(const ::sensor_msgs::Range_< ContainerAllocator > &)
static const char * value()
uint8_t _radiation_type_type
Range_(const ContainerAllocator &_alloc)
Range_< ContainerAllocator > Type
_radiation_type_type radiation_type
Templated serialization class. Default implementation provides backwards compatibility with old messa...
_field_of_view_type field_of_view
static const char * value(const ::sensor_msgs::Range_< ContainerAllocator > &)