Device interface to one or multiple position sensors, such as UWB localization sensors. More...
#include <yarp/dev/MultipleAnalogSensorsInterfaces.h>
Public Member Functions | |
virtual size_t | getNrOfPositionSensors () const =0 |
Get the number of position sensors exposed by this device. More... | |
virtual yarp::dev::MAS_status | getPositionSensorStatus (size_t sens_index) const =0 |
Get the status of the specified sensor. More... | |
virtual bool | getPositionSensorName (size_t sens_index, std::string &name) const =0 |
Get the name of the specified sensor. More... | |
virtual bool | getPositionSensorFrameName (size_t sens_index, std::string &frameName) const =0 |
Get the name of the frame of the specified sensor. More... | |
virtual bool | getPositionSensorMeasure (size_t sens_index, yarp::sig::Vector &xyz, double ×tamp) const =0 |
Get the last reading of the position sensor as x y z. More... | |
virtual | ~IPositionSensors () |
Device interface to one or multiple position sensors, such as UWB localization sensors.
The device returns the relative position between a lab or surface-fixed frame and a frame rigidly attached to the sensor.
The definition of the lab or surface-fixed frame is sensor-specific.
Sensor Tag |
---|
PositionSensors |
Definition at line 215 of file MultipleAnalogSensorsInterfaces.h.
|
inlinevirtual |
Definition at line 254 of file MultipleAnalogSensorsInterfaces.h.
|
pure virtual |
Get the number of position sensors exposed by this device.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the name of the frame of the specified sensor.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the last reading of the position sensor as x y z.
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfPositionSensors()-1). |
[out] | out | The requested measure. The vector should be 3-dimensional. The measure is expressed in meters. |
[out] | timestamp | The timestamp of the requested measure, expressed in seconds. |
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the name of the specified sensor.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the status of the specified sensor.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.