A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
void doProcess()
This method will be invoked at a minimum rate of "process_rate" (Hz)
void getLimits(float &min, float &max)
Get alarm limits.
CRaePID()
Default constructor.
mrpt::obs::CObservationGasSensors getFullInfo()
Get full reading (see PID documentation).
A communications serial port built as an implementation of a utils::CStream.
bool errorStatus(std::string &errorString)
Get error status (true if an error was found).
std::string com_port
COM port name.
This class implements a driver for the RAE Systems gas PhotoIonization Detector (PID) (Tested on a Mi...
std::string getSerialNumber()
Get serial number as a string.
This class allows loading and storing values and vectors of different types from a configuration text...
std::string getName()
Get name string.
Declares a class derived from "CObservation" that represents a set of readings from gas sensors...
GLsizei const GLchar ** string
void close()
Close the port.
void loadConfig_sensorSpecific(const mrpt::utils::CConfigFileBase &configSource, const std::string §ion)
Loads specific configuration for the device from a given source of configuration parameters, for example, an ".ini" file, loading from the section "[iniSection]" (see utils::CConfigFileBase and derived classes)
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
mrpt::comms::CSerialPort COM
COM port.
bool tryToOpenTheCOM()
Returns true if the COM port is already open, or try to open it in other case.
bool switchPower()
Switch power on or off (returns true if turned on).
virtual ~CRaePID()
Default destructor.
std::string getModel()
Get model string.
std::string getFirmware()
Get firmware version string.