|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
35 #ifndef YARP_ROSMSG_sensor_msgs_Illuminance_h
36 #define YARP_ROSMSG_sensor_msgs_Illuminance_h
171 static constexpr
const char*
typeName =
"sensor_msgs/Illuminance";
174 static constexpr
const char*
typeChecksum =
"8cf5febb0952fca9d650c3d11a81a188";
178 # Single photometric illuminance measurement. Light should be assumed to be\n\
179 # measured along the sensor's x-axis (the area of detection is the y-z plane).\n\
180 # The illuminance should have a 0 or positive value and be received with\n\
181 # the sensor's +X axis pointing toward the light source.\n\
183 # Photometric illuminance is the measure of the human eye's sensitivity of the\n\
184 # intensity of light encountering or passing through a surface.\n\
186 # All other Photometric and Radiometric measurements should\n\
187 # not use this message.\n\
188 # This message cannot represent:\n\
189 # Luminous intensity (candela/light source output)\n\
190 # Luminance (nits/light output per area)\n\
191 # Irradiance (watt/area), etc.\n\
193 Header header # timestamp is the time the illuminance was measured\n\
194 # frame_id is the location and direction of the reading\n\
196 float64 illuminance # Measurement of the Photometric Illuminance in Lux.\n\
198 float64 variance # 0 is interpreted as variance unknown\n\
199 ================================================================================\n\
200 MSG: std_msgs/Header\n\
201 # Standard metadata for higher-level stamped data types.\n\
202 # This is generally used to communicate timestamped data \n\
203 # in a particular coordinate frame.\n\
205 # sequence ID: consecutively increasing ID \n\
207 #Two-integer timestamp that is expressed as:\n\
208 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
209 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
210 # time-handling sugar is provided by the client library\n\
212 #Frame this data is associated with\n\
231 #endif // YARP_ROSMSG_sensor_msgs_Illuminance_h
yarp::conf::float64_t expectFloat64()
virtual void appendFloat64(yarp::conf::float64_t data)=0
Send a representation of a 64-bit floating point number to the network connection.
virtual bool read(yarp::os::idl::WireReader &reader)
virtual bool isBareMode() const =0
Check if the connection is bare mode.
static constexpr const char * typeChecksum
static constexpr const char * typeText
yarp::os::idl::BottleStyle< yarp::rosmsg::sensor_msgs::Illuminance > bottleStyle
yarp::os::Type getType() const override
virtual yarp::conf::float64_t expectFloat64()=0
Read a 64-bit floating point number from the network connection.
virtual bool isError() const =0
yarp::conf::float64_t illuminance
static Type byName(const char *name)
Type & addProperty(const char *key, const Value &val)
yarp::os::idl::BareStyle< yarp::rosmsg::sensor_msgs::Illuminance > rosStyle
An interface for writing to a network connection.
yarp::conf::float64_t variance
bool readBare(yarp::os::ConnectionReader &connection) override
virtual bool isError() const =0
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
virtual bool isBareMode() const =0
Check if the connection is bare mode.
bool readBottle(yarp::os::ConnectionReader &connection) override
virtual bool convertTextMode()=0
Converts a standard description in binary into a textual description, if the connection is in text-mo...
virtual void appendInt32(std::int32_t data)=0
Send a representation of a 32-bit integer to the network connection.
IDL-friendly connection reader.
An interface for reading from a network connection.
#define BOTTLE_TAG_FLOAT64
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
The main, catch-all namespace for YARP.
static constexpr const char * typeName
A single value (typically within a Bottle).
yarp::rosmsg::std_msgs::Header header
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeBare(yarp::os::ConnectionWriter &connection) const override
virtual bool write(const yarp::os::idl::WireWriter &writer) const