7#ifndef YARP_DEV_IGENERICSENSOR_H
8#define YARP_DEV_IGENERICSENSOR_H
contains the definition of a Vector type
A generic interface to sensors – gyro, a/d converters etc.
virtual bool read(yarp::sig::Vector &out)=0
Read a vector from the sensor.
virtual bool getChannels(int *nc)=0
Get the number of channels of the sensor.
virtual ~IGenericSensor()
virtual bool calibrate(int ch, double v)=0
Calibrate the sensor, single channel.
For streams capable of holding different kinds of content, check what they actually have.