class mrpt::hwdrivers::CGillAnemometer

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

#include <mrpt/hwdrivers/CGillAnemometer.h>

class CGillAnemometer: public mrpt::hwdrivers::CGenericSensor
{
public:
    // construction

    CGillAnemometer();

    //
methods

    virtual void doProcess();
    virtual void loadConfig_sensorSpecific(const mrpt::config::CConfigFileBase& configSource, const std::string& section);
};

Inherited Members

public:
    //
methods

    CGenericSensor& operator = (const CGenericSensor&);
    virtual void doProcess() = 0;

Construction

CGillAnemometer()

Default constructor.

Methods

virtual void doProcess()

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

Parameters:

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
    )

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)

Parameters:

This

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