A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
A communications serial port built as an implementation of a utils::CStream.
bool tryToOpenTheCOM()
Returns true if the COM port is already open, or try to open it in other case.
~CGillAnemometer() override
Default destructor.
void doProcess() override
This method will be invoked at a minimum rate of "process_rate" (Hz)
Contains classes for various device interfaces.
This class allows loading and storing values and vectors of different types from a configuration text...
void loadConfig_sensorSpecific(const mrpt::config::CConfigFileBase &configSource, const std::string §ion) override
Loads specific configuration for the device from a given source of configuration parameters, for example, an ".ini" file, loading from the section "[iniSection]" (see config::CConfigFileBase and derived classes)
GLsizei const GLchar ** string
void close()
Close the port.
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
mrpt::comms::CSerialPort COM
COM port.
This class implements a driver for the Gill Windsonic Option 1 Anemometer The sensor is accessed via ...
std::string com_port
COM port name.
CGillAnemometer()
Default constructor.