MRPT  1.9.9
mrpt::obs::CObservationGasSensors::TObservationENose Struct Reference

Detailed Description

The structure for each e-nose.

Definition at line 35 of file CObservationGasSensors.h.

#include <mrpt/obs/CObservationGasSensors.h>

Public Member Functions

 TObservationENose ()
 

Public Attributes

math::TPose3D eNosePoseOnTheRobot
 The pose of the sensors on the robot. More...
 
std::vector< float > readingsVoltage
 The set of readings (in volts) from the array of sensors (size of "sensorTypes" is the same that the size of "readingsVoltage") More...
 
std::vector< int > sensorTypes
 The kind of sensors in the array (size of "sensorTypes" is the same that the size of "readingsVoltage") The meaning of values for types of sensors is as follows: 0x0000 : No sensor installed in this slot 0x2600 : Figaro TGS 2600 0x2602 : Figaro TGS 2602 0x2620 : Figaro TGS 2620 0x4161 : Figaro TGS 4161. More...
 
bool hasTemperature {false}
 Must be true for "temperature" to contain a valid measurement. More...
 
float temperature {0}
 Sensed temperature in Celcius (valid if hasTemperature=true only) More...
 
bool isActive
 True if the input to this chamber/enose is poluted air, False if clean air. More...
 

Constructor & Destructor Documentation

◆ TObservationENose()

mrpt::obs::CObservationGasSensors::TObservationENose::TObservationENose ( )
inline

Definition at line 37 of file CObservationGasSensors.h.

Member Data Documentation

◆ eNosePoseOnTheRobot

math::TPose3D mrpt::obs::CObservationGasSensors::TObservationENose::eNosePoseOnTheRobot

◆ hasTemperature

bool mrpt::obs::CObservationGasSensors::TObservationENose::hasTemperature {false}

Must be true for "temperature" to contain a valid measurement.

Definition at line 59 of file CObservationGasSensors.h.

Referenced by mrpt::hwdrivers::CEnoseModular::getObservation(), and mrpt::hwdrivers::CBoardENoses::getObservation().

◆ isActive

bool mrpt::obs::CObservationGasSensors::TObservationENose::isActive

True if the input to this chamber/enose is poluted air, False if clean air.

Definition at line 64 of file CObservationGasSensors.h.

Referenced by mrpt::hwdrivers::CEnoseModular::getObservation(), and mrpt::hwdrivers::CBoardENoses::getObservation().

◆ readingsVoltage

std::vector<float> mrpt::obs::CObservationGasSensors::TObservationENose::readingsVoltage

◆ sensorTypes

std::vector<int> mrpt::obs::CObservationGasSensors::TObservationENose::sensorTypes

The kind of sensors in the array (size of "sensorTypes" is the same that the size of "readingsVoltage") The meaning of values for types of sensors is as follows: 0x0000 : No sensor installed in this slot 0x2600 : Figaro TGS 2600 0x2602 : Figaro TGS 2602 0x2620 : Figaro TGS 2620 0x4161 : Figaro TGS 4161.

Definition at line 57 of file CObservationGasSensors.h.

Referenced by mrpt::hwdrivers::CRaePID::doProcess(), mrpt::hwdrivers::CEnoseModular::getObservation(), mrpt::hwdrivers::CBoardENoses::getObservation(), and mrpt::obs::CObservationGasSensors::serializeFrom().

◆ temperature

float mrpt::obs::CObservationGasSensors::TObservationENose::temperature {0}

Sensed temperature in Celcius (valid if hasTemperature=true only)

Definition at line 61 of file CObservationGasSensors.h.

Referenced by mrpt::hwdrivers::CEnoseModular::getObservation(), and mrpt::hwdrivers::CBoardENoses::getObservation().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ee555d257 Fri Aug 16 10:05:39 2019 +0200 at vie ago 16 10:10:14 CEST 2019