Class CGillAnemometer

Inheritance Relationships

Base Type

Class Documentation

class CGillAnemometer : public mrpt::hwdrivers::CGenericSensor

This class implements a driver for the Gill Windsonic Option 1 Anemometer The sensor is accessed via a standard serial port.

Refer to the manufacturer website for details on this sensor: http://gillinstruments.com/data/manuals/WindSonic-Web-Manual.pdf Configure for single <CR> return, at 2Hz

See also

mrpt::obs::CObservationWindSensor

Public Functions

CGillAnemometer()

Default constructor.

inline ~CGillAnemometer() override

Default destructor.

virtual void doProcess() override

This method will be invoked at a minimum rate of “process_rate” (Hz)

Throws:

This – method must throw an exception with a descriptive message if some critical error is found.

virtual void loadConfig_sensorSpecific(const mrpt::config::CConfigFileBase &configSource, const std::string &section) 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)

Throws:

This – method must throw an exception with a descriptive message if some critical parameter is missing or has an invalid value.