Go to the documentation of this file.
6 #ifndef SENSOR_MSGS_MESSAGE_ILLUMINANCE_H
7 #define SENSOR_MSGS_MESSAGE_ILLUMINANCE_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
23 template <
class ContainerAllocator>
54 typedef std::shared_ptr< ::sensor_msgs::Illuminance_<ContainerAllocator> >
Ptr;
55 typedef std::shared_ptr< ::sensor_msgs::Illuminance_<ContainerAllocator>
const>
ConstPtr;
59 typedef ::sensor_msgs::Illuminance_<std::allocator<void> >
Illuminance;
68 template<
typename ContainerAllocator>
69 std::ostream&
operator<<(std::ostream& s, const ::sensor_msgs::Illuminance_<ContainerAllocator> & v)
79 namespace message_traits
92 template <
class ContainerAllocator>
97 template <
class ContainerAllocator>
102 template <
class ContainerAllocator>
107 template <
class ContainerAllocator>
112 template <
class ContainerAllocator>
117 template <
class ContainerAllocator>
123 template<
class ContainerAllocator>
128 return "8cf5febb0952fca9d650c3d11a81a188";
131 static const char*
value(const ::sensor_msgs::Illuminance_<ContainerAllocator>&) {
return value(); }
132 static const uint64_t static_value1 = 0x8cf5febb0952fca9ULL;
133 static const uint64_t static_value2 = 0xd650c3d11a81a188ULL;
136 template<
class ContainerAllocator>
141 return "sensor_msgs/Illuminance";
144 static const char*
value(const ::sensor_msgs::Illuminance_<ContainerAllocator>&) {
return value(); }
147 template<
class ContainerAllocator>
152 return " # Single photometric illuminance measurement. Light should be assumed to be\n\
153 # measured along the sensor's x-axis (the area of detection is the y-z plane).\n\
154 # The illuminance should have a 0 or positive value and be received with\n\
155 # the sensor's +X axis pointing toward the light source.\n\
157 # Photometric illuminance is the measure of the human eye's sensitivity of the\n\
158 # intensity of light encountering or passing through a surface.\n\
160 # All other Photometric and Radiometric measurements should\n\
161 # not use this message.\n\
162 # This message cannot represent:\n\
163 # Luminous intensity (candela/light source output)\n\
164 # Luminance (nits/light output per area)\n\
165 # Irradiance (watt/area), etc.\n\
167 Header header # timestamp is the time the illuminance was measured\n\
168 # frame_id is the location and direction of the reading\n\
170 float64 illuminance # Measurement of the Photometric Illuminance in Lux.\n\
172 float64 variance # 0 is interpreted as variance unknown\n\
173 ================================================================================\n\
174 MSG: std_msgs/Header\n\
175 # Standard metadata for higher-level stamped data types.\n\
176 # This is generally used to communicate timestamped data \n\
177 # in a particular coordinate frame.\n\
179 # sequence ID: consecutively increasing ID \n\
181 #Two-integer timestamp that is expressed as:\n\
182 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
183 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
184 # time-handling sugar is provided by the client library\n\
186 #Frame this data is associated with\n\
193 static const char*
value(const ::sensor_msgs::Illuminance_<ContainerAllocator>&) {
return value(); }
201 namespace serialization
206 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
208 stream.next(m.header);
209 stream.next(m.illuminance);
210 stream.next(m.variance);
221 namespace message_operations
224 template<
class ContainerAllocator>
227 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sensor_msgs::Illuminance_<ContainerAllocator>& v)
232 s <<
indent <<
"illuminance: ";
242 #endif // SENSOR_MSGS_MESSAGE_ILLUMINANCE_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
std::shared_ptr< ::sensor_msgs::Illuminance > IlluminancePtr
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Illuminance_(const ContainerAllocator &_alloc)
static const char * value(const ::sensor_msgs::Illuminance_< ContainerAllocator > &)
std::shared_ptr< ::sensor_msgs::Illuminance_< ContainerAllocator > > Ptr
::std_msgs::Header_< ContainerAllocator > _header_type
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::Illuminance_< ContainerAllocator > &v)
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...
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
static const char * value()
Specialize to provide the datatype for a message.
static const char * value()
Specialize to provide the definition for a message.
static const char * value(const ::sensor_msgs::Illuminance_< ContainerAllocator > &)
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
Illuminance_< ContainerAllocator > Type
static const char * value()
static const char * value(const ::sensor_msgs::Illuminance_< ContainerAllocator > &)
std::shared_ptr< ::sensor_msgs::Illuminance const > IlluminanceConstPtr
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
std::shared_ptr< ::sensor_msgs::Illuminance_< ContainerAllocator > const > ConstPtr
_illuminance_type illuminance
Stream base-class, provides common functionality for IStream and OStream.
::sensor_msgs::Illuminance_< std::allocator< void > > Illuminance
Tools for manipulating sensor_msgs.
static void allInOne(Stream &stream, T m)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08