|
RTAB-Map 0.23.10
Real-Time Appearance-Based Mapping
|
Single environmental measurement (type, value, timestamp). More...
#include <EnvSensor.h>
Public Types | |
| enum | Type { kUndefined = 0 , kWifiSignalStrength , kAmbientTemperature , kAmbientAirPressure , kAmbientLight , kAmbientRelativeHumidity , kCustomSensor1 = 100 , kCustomSensor2 , kCustomSensor3 , kCustomSensor4 , kCustomSensor5 , kCustomSensor6 , kCustomSensor7 , kCustomSensor8 , kCustomSensor9 } |
| Environmental sensor channel identifier. More... | |
Public Member Functions | |
| 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 |
| const double & | value () const |
| const double & | stamp () const |
Single environmental measurement (type, value, timestamp).
Built-in Type values cover common phone/robot sensors; kCustomSensor1 through kCustomSensor9 are reserved for application-specific channels. Units depend on the type (see Type).
Samples are stored per node in SensorData via EnvSensors (one entry per type). Persisted in the database with node records (DBDriver).
Definition at line 50 of file EnvSensor.h.
Environmental sensor channel identifier.
Built-in types use fixed units; custom types (≥ kCustomSensor1) have application-defined meaning and units.
Definition at line 59 of file EnvSensor.h.
|
inline |
Default constructor: kUndefined type, zero value and stamp.
Definition at line 80 of file EnvSensor.h.
|
inline |
Constructs a reading with the given type, value, and optional stamp.
| type | Sensor channel (Type). |
| value | Measurement in the units for type. |
| stamp | Timestamp in seconds (0 if unknown). |
Definition at line 92 of file EnvSensor.h.
|
inlinevirtual |
Definition at line 98 of file EnvSensor.h.
|
inline |
Definition at line 101 of file EnvSensor.h.
|
inline |
Definition at line 103 of file EnvSensor.h.
|
inline |
Definition at line 105 of file EnvSensor.h.