28#ifndef CORELIB_INCLUDE_RTABMAP_CORE_ENVSENSOR_H_
29#define CORELIB_INCLUDE_RTABMAP_CORE_ENVSENSOR_H_
103 const double &
value()
const {
return value_;}
105 const double &
stamp()
const {
return stamp_;}
Single environmental measurement (type, value, timestamp).
const double & stamp() const
Type
Environmental sensor channel identifier.
@ kWifiSignalStrength
Wi‑Fi signal strength (dBm).
@ kCustomSensor8
User-defined sensor slot 8.
@ kAmbientAirPressure
Ambient air pressure (hPa).
@ kCustomSensor4
User-defined sensor slot 4.
@ kCustomSensor9
User-defined sensor slot 9.
@ kCustomSensor3
User-defined sensor slot 3.
@ kAmbientRelativeHumidity
Relative humidity (%).
@ kCustomSensor1
User-defined sensor slot 1.
@ kAmbientLight
Ambient illuminance (lx).
@ kCustomSensor2
User-defined sensor slot 2.
@ kAmbientTemperature
Ambient temperature (°C).
@ kUndefined
Uninitialized / unknown channel.
@ kCustomSensor7
User-defined sensor slot 7.
@ kCustomSensor6
User-defined sensor slot 6.
@ kCustomSensor5
User-defined sensor slot 5.
const double & value() const
EnvSensor()
Default constructor: kUndefined type, zero value and stamp.
EnvSensor(const Type &type, const double &value, const double &stamp=0)
Constructs a reading with the given type, value, and optional stamp.
const Type & type() const
std::map< EnvSensor::Type, EnvSensor > EnvSensors
Map of environmental readings keyed by EnvSensor::Type (at most one per type).