// Generated by gencpp from file sensor_msgs/Illuminance.msg // DO NOT EDIT! #ifndef SENSOR_MSGS_MESSAGE_ILLUMINANCE_H #define SENSOR_MSGS_MESSAGE_ILLUMINANCE_H #include #include #include #include #include #include #include namespace sensor_msgs { template struct Illuminance_ { typedef Illuminance_ Type; Illuminance_() : header() , illuminance(0.0) , variance(0.0) { } Illuminance_(const ContainerAllocator& _alloc) : header(_alloc) , illuminance(0.0) , variance(0.0) { (void)_alloc; } typedef ::std_msgs::Header_ _header_type; _header_type header; typedef double _illuminance_type; _illuminance_type illuminance; typedef double _variance_type; _variance_type variance; typedef boost::shared_ptr< ::sensor_msgs::Illuminance_ > Ptr; typedef boost::shared_ptr< ::sensor_msgs::Illuminance_ const> ConstPtr; }; // struct Illuminance_ typedef ::sensor_msgs::Illuminance_ > Illuminance; typedef boost::shared_ptr< ::sensor_msgs::Illuminance > IlluminancePtr; typedef boost::shared_ptr< ::sensor_msgs::Illuminance const> IlluminanceConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::Illuminance_ & v) { ros::message_operations::Printer< ::sensor_msgs::Illuminance_ >::stream(s, "", v); return s; } template bool operator==(const ::sensor_msgs::Illuminance_ & lhs, const ::sensor_msgs::Illuminance_ & rhs) { return lhs.header == rhs.header && lhs.illuminance == rhs.illuminance && lhs.variance == rhs.variance; } template bool operator!=(const ::sensor_msgs::Illuminance_ & lhs, const ::sensor_msgs::Illuminance_ & rhs) { return !(lhs == rhs); } } // namespace sensor_msgs namespace ros { namespace message_traits { template struct IsMessage< ::sensor_msgs::Illuminance_ > : TrueType { }; template struct IsMessage< ::sensor_msgs::Illuminance_ const> : TrueType { }; template struct IsFixedSize< ::sensor_msgs::Illuminance_ > : FalseType { }; template struct IsFixedSize< ::sensor_msgs::Illuminance_ const> : FalseType { }; template struct HasHeader< ::sensor_msgs::Illuminance_ > : TrueType { }; template struct HasHeader< ::sensor_msgs::Illuminance_ const> : TrueType { }; template struct MD5Sum< ::sensor_msgs::Illuminance_ > { static const char* value() { return "8cf5febb0952fca9d650c3d11a81a188"; } static const char* value(const ::sensor_msgs::Illuminance_&) { return value(); } static const uint64_t static_value1 = 0x8cf5febb0952fca9ULL; static const uint64_t static_value2 = 0xd650c3d11a81a188ULL; }; template struct DataType< ::sensor_msgs::Illuminance_ > { static const char* value() { return "sensor_msgs/Illuminance"; } static const char* value(const ::sensor_msgs::Illuminance_&) { return value(); } }; template struct Definition< ::sensor_msgs::Illuminance_ > { static const char* value() { return " # Single photometric illuminance measurement. Light should be assumed to be\n" " # measured along the sensor's x-axis (the area of detection is the y-z plane).\n" " # The illuminance should have a 0 or positive value and be received with\n" " # the sensor's +X axis pointing toward the light source.\n" "\n" " # Photometric illuminance is the measure of the human eye's sensitivity of the\n" " # intensity of light encountering or passing through a surface.\n" "\n" " # All other Photometric and Radiometric measurements should\n" " # not use this message.\n" " # This message cannot represent:\n" " # Luminous intensity (candela/light source output)\n" " # Luminance (nits/light output per area)\n" " # Irradiance (watt/area), etc.\n" "\n" " Header header # timestamp is the time the illuminance was measured\n" " # frame_id is the location and direction of the reading\n" "\n" " float64 illuminance # Measurement of the Photometric Illuminance in Lux.\n" "\n" " float64 variance # 0 is interpreted as variance unknown\n" "================================================================================\n" "MSG: std_msgs/Header\n" "# Standard metadata for higher-level stamped data types.\n" "# This is generally used to communicate timestamped data \n" "# in a particular coordinate frame.\n" "# \n" "# sequence ID: consecutively increasing ID \n" "uint32 seq\n" "#Two-integer timestamp that is expressed as:\n" "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n" "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n" "# time-handling sugar is provided by the client library\n" "time stamp\n" "#Frame this data is associated with\n" "string frame_id\n" ; } static const char* value(const ::sensor_msgs::Illuminance_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::sensor_msgs::Illuminance_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.header); stream.next(m.illuminance); stream.next(m.variance); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct Illuminance_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::sensor_msgs::Illuminance_ > { template static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::Illuminance_& v) { s << indent << "header: "; s << std::endl; Printer< ::std_msgs::Header_ >::stream(s, indent + " ", v.header); s << indent << "illuminance: "; Printer::stream(s, indent + " ", v.illuminance); s << indent << "variance: "; Printer::stream(s, indent + " ", v.variance); } }; } // namespace message_operations } // namespace ros #endif // SENSOR_MSGS_MESSAGE_ILLUMINANCE_H