Device interface to one or multiple three axis linear accelerometers. More...
#include <yarp/dev/MultipleAnalogSensorsInterfaces.h>
Public Member Functions | |
virtual size_t | getNrOfThreeAxisLinearAccelerometers () const =0 |
Get the number of three axis linear accelerometers exposed by this device. More... | |
virtual yarp::dev::MAS_status | getThreeAxisLinearAccelerometerStatus (size_t sens_index) const =0 |
Get the status of the specified sensor. More... | |
virtual bool | getThreeAxisLinearAccelerometerName (size_t sens_index, std::string &name) const =0 |
Get the name of the specified sensor. More... | |
virtual bool | getThreeAxisLinearAccelerometerFrameName (size_t sens_index, std::string &frameName) const =0 |
Get the name of the frame of the specified sensor. More... | |
virtual bool | getThreeAxisLinearAccelerometerMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const =0 |
Get the last reading of the specified sensor. More... | |
virtual | ~IThreeAxisLinearAccelerometers () |
Device interface to one or multiple three axis linear accelerometers.
Sensor Tag |
---|
ThreeAxisLinearAccelerometers |
Definition at line 117 of file MultipleAnalogSensorsInterfaces.h.
|
inlinevirtual |
Definition at line 152 of file MultipleAnalogSensorsInterfaces.h.
|
pure virtual |
Get the number of three axis linear accelerometers exposed by this device.
Implemented in MultipleAnalogSensorsRemapper, MultipleAnalogSensorsClient, BoschIMU, and fakeIMU.
|
pure virtual |
Get the name of the frame of the specified sensor.
Implemented in MultipleAnalogSensorsRemapper, MultipleAnalogSensorsClient, BoschIMU, and fakeIMU.
|
pure virtual |
Get the last reading of the specified sensor.
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfThreeAxisLinearAccelerometers()-1). |
[out] | out | The requested measure. The vector should be 3-dimensional. The measure is expressed in meters^2/seconds. |
[out] | timestamp | The timestamp of the requested measure, expressed in seconds. |
Implemented in MultipleAnalogSensorsRemapper, MultipleAnalogSensorsClient, BoschIMU, and fakeIMU.
|
pure virtual |
Get the name of the specified sensor.
Implemented in MultipleAnalogSensorsRemapper, MultipleAnalogSensorsClient, BoschIMU, and fakeIMU.
|
pure virtual |
Get the status of the specified sensor.
Implemented in MultipleAnalogSensorsRemapper, MultipleAnalogSensorsClient, BoschIMU, and fakeIMU.