Device interface to one or multiple three axis magnetometers. More...
#include <yarp/dev/MultipleAnalogSensorsInterfaces.h>
Public Member Functions | |
virtual size_t | getNrOfThreeAxisMagnetometers () const =0 |
Get the number of magnetometers exposed by this device. More... | |
virtual yarp::dev::MAS_status | getThreeAxisMagnetometerStatus (size_t sens_index) const =0 |
Get the status of the specified sensor. More... | |
virtual bool | getThreeAxisMagnetometerName (size_t sens_index, std::string &name) const =0 |
Get the name of the specified sensor. More... | |
virtual bool | getThreeAxisMagnetometerFrameName (size_t sens_index, std::string &frameName) const =0 |
Get the name of the frame of the specified sensor. More... | |
virtual bool | getThreeAxisMagnetometerMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const =0 |
Get the last reading of the specified sensor. More... | |
virtual | ~IThreeAxisMagnetometers () |
Device interface to one or multiple three axis magnetometers.
Sensor Tag |
---|
ThreeAxisMagnetometers |
Definition at line 164 of file MultipleAnalogSensorsInterfaces.h.
|
inlinevirtual |
Definition at line 199 of file MultipleAnalogSensorsInterfaces.h.
|
pure virtual |
Get the number of magnetometers 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 getNrOfThreeAxisMagnetometers()-1). |
[out] | out | The requested measure. The vector should be 3-dimensional. The measure is expressed in tesla . |
[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.