multipleanalogsensorsremapper
: device that takes a list of sensors from multiple analog sensors device and exposes them as a single device exposing MultipleAnalogSensors interface.
More...
#include <multipleanalogsensorsremapper/MultipleAnalogSensorsRemapper.h>
Public Member Functions | |
bool | open (yarp::os::Searchable &config) override |
Open the DeviceDriver. | |
bool | close () override |
Close the DeviceDriver. | |
bool | attachAll (const yarp::dev::PolyDriverList &p) override |
MultipeWrapper methods. | |
bool | detachAll () override |
Detach the object (you must have first called attach). | |
size_t | getNrOfThreeAxisGyroscopes () const override |
Get the number of three axis gyroscopes exposed by this sensor. | |
yarp::dev::MAS_status | getThreeAxisGyroscopeStatus (size_t sens_index) const override |
Get the status of the specified sensor. | |
bool | getThreeAxisGyroscopeName (size_t sens_index, std::string &name) const override |
Get the name of the specified sensor. | |
bool | getThreeAxisGyroscopeFrameName (size_t sens_index, std::string &frameName) const override |
Get the name of the frame of the specified sensor. | |
bool | getThreeAxisGyroscopeMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const override |
Get the last reading of the gyroscope. | |
size_t | getNrOfThreeAxisLinearAccelerometers () const override |
Get the number of three axis linear accelerometers exposed by this device. | |
yarp::dev::MAS_status | getThreeAxisLinearAccelerometerStatus (size_t sens_index) const override |
Get the status of the specified sensor. | |
bool | getThreeAxisLinearAccelerometerName (size_t sens_index, std::string &name) const override |
Get the name of the specified sensor. | |
bool | getThreeAxisLinearAccelerometerFrameName (size_t sens_index, std::string &frameName) const override |
Get the name of the frame of the specified sensor. | |
bool | getThreeAxisLinearAccelerometerMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const override |
Get the last reading of the specified sensor. | |
size_t | getNrOfThreeAxisAngularAccelerometers () const override |
Get the number of three axis angular accelerometers exposed by this device. | |
yarp::dev::MAS_status | getThreeAxisAngularAccelerometerStatus (size_t sens_index) const override |
Get the status of the specified sensor. | |
bool | getThreeAxisAngularAccelerometerName (size_t sens_index, std::string &name) const override |
Get the name of the specified sensor. | |
bool | getThreeAxisAngularAccelerometerFrameName (size_t sens_index, std::string &frameName) const override |
Get the name of the frame of the specified sensor. | |
bool | getThreeAxisAngularAccelerometerMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const override |
Get the last reading of the specified sensor. | |
size_t | getNrOfThreeAxisMagnetometers () const override |
Get the number of magnetometers exposed by this device. | |
yarp::dev::MAS_status | getThreeAxisMagnetometerStatus (size_t sens_index) const override |
Get the status of the specified sensor. | |
bool | getThreeAxisMagnetometerName (size_t sens_index, std::string &name) const override |
Get the name of the specified sensor. | |
bool | getThreeAxisMagnetometerFrameName (size_t sens_index, std::string &frameName) const override |
Get the name of the frame of the specified sensor. | |
bool | getThreeAxisMagnetometerMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const override |
Get the last reading of the specified sensor. | |
size_t | getNrOfOrientationSensors () const override |
Get the number of orientation sensors exposed by this device. | |
yarp::dev::MAS_status | getOrientationSensorStatus (size_t sens_index) const override |
Get the status of the specified sensor. | |
bool | getOrientationSensorName (size_t sens_index, std::string &name) const override |
Get the name of the specified sensor. | |
bool | getOrientationSensorFrameName (size_t sens_index, std::string &frameName) const override |
Get the name of the frame of the specified sensor. | |
bool | getOrientationSensorMeasureAsRollPitchYaw (size_t sens_index, yarp::sig::Vector &rpy, double ×tamp) const override |
Get the last reading of the orientation sensor as roll pitch yaw. | |
size_t | getNrOfTemperatureSensors () const override |
Get the number of temperature sensors exposed by this device. | |
yarp::dev::MAS_status | getTemperatureSensorStatus (size_t sens_index) const override |
Get the status of the specified sensor. | |
bool | getTemperatureSensorName (size_t sens_index, std::string &name) const override |
Get the name of the specified sensor. | |
bool | getTemperatureSensorFrameName (size_t sens_index, std::string &frameName) const override |
Get the name of the frame of the specified sensor. | |
bool | getTemperatureSensorMeasure (size_t sens_index, double &out, double ×tamp) const override |
Get the last reading of the specified sensor. | |
bool | getTemperatureSensorMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const override |
Get the last reading of the specified sensor. | |
size_t | getNrOfSixAxisForceTorqueSensors () const override |
Get the number of six axis force torque sensors exposed by this device. | |
yarp::dev::MAS_status | getSixAxisForceTorqueSensorStatus (size_t sens_index) const override |
Get the status of the specified sensor. | |
bool | getSixAxisForceTorqueSensorName (size_t sens_index, std::string &name) const override |
Get the name of the specified sensor. | |
bool | getSixAxisForceTorqueSensorFrameName (size_t sens_index, std::string &frame) const override |
Get the name of the frame of the specified sensor. | |
bool | getSixAxisForceTorqueSensorMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const override |
Get the last reading of the specified sensor. | |
size_t | getNrOfContactLoadCellArrays () const override |
Get the number of contact load cell array exposed by this device. | |
yarp::dev::MAS_status | getContactLoadCellArrayStatus (size_t sens_index) const override |
Get the status of the specified sensor. | |
bool | getContactLoadCellArrayName (size_t sens_index, std::string &name) const override |
Get the name of the specified sensor. | |
bool | getContactLoadCellArrayMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const override |
Get the last reading of the specified sensor. | |
size_t | getContactLoadCellArraySize (size_t sens_index) const override |
Get the size of the specified contact load cell array. | |
size_t | getNrOfEncoderArrays () const override |
Get the number of encoder arrays exposed by this device. | |
yarp::dev::MAS_status | getEncoderArrayStatus (size_t sens_index) const override |
Get the status of the specified sensor. | |
bool | getEncoderArrayName (size_t sens_index, std::string &name) const override |
Get the name of the specified sensor. | |
bool | getEncoderArrayMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const override |
Get the last reading of the specified sensor. | |
size_t | getEncoderArraySize (size_t sens_index) const override |
Get the size of the specified encoder array. | |
size_t | getNrOfSkinPatches () const override |
Get the number of skin patches exposed by this device. | |
yarp::dev::MAS_status | getSkinPatchStatus (size_t sens_index) const override |
Get the status of the specified sensor. | |
bool | getSkinPatchName (size_t sens_index, std::string &name) const override |
Get the name of the specified sensor. | |
bool | getSkinPatchMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const override |
Get the last reading of the specified sensor. | |
size_t | getSkinPatchSize (size_t sens_index) const override |
Get the size of the specified skin patch. | |
size_t | getNrOfPositionSensors () const override |
Get the number of position sensors exposed by this device. | |
yarp::dev::MAS_status | getPositionSensorStatus (size_t sens_index) const override |
Get the status of the specified sensor. | |
bool | getPositionSensorName (size_t sens_index, std::string &name) const override |
Get the name of the specified sensor. | |
bool | getPositionSensorFrameName (size_t sens_index, std::string &frameName) const override |
Get the name of the frame of the specified sensor. | |
bool | getPositionSensorMeasure (size_t sens_index, yarp::sig::Vector &xyz, double ×tamp) const override |
Get the last reading of the position sensor as x y z. | |
size_t | getNrOfLinearVelocitySensors () const override |
Get the number of linear velocity sensors exposed by this device. | |
yarp::dev::MAS_status | getLinearVelocitySensorStatus (size_t sens_index) const override |
Get the status of the specified sensor. | |
bool | getLinearVelocitySensorName (size_t sens_index, std::string &name) const override |
Get the name of the specified sensor. | |
bool | getLinearVelocitySensorFrameName (size_t sens_index, std::string &frameName) const override |
Get the name of the frame of the specified sensor. | |
bool | getLinearVelocitySensorMeasure (size_t sens_index, yarp::sig::Vector &xyz, double ×tamp) const override |
Get the last reading of the linear velocity sensor as x y z. | |
template<typename Interface > | |
MAS_status | genericGetStatus (const MAS_SensorType sensorType, size_t &sens_index, const std::vector< Interface * > &subDeviceVec, MAS_status(Interface::*methodPtr)(size_t) const) const |
![]() | |
DeviceDriver () | |
DeviceDriver (const DeviceDriver &other)=delete | |
DeviceDriver (DeviceDriver &&other) noexcept=delete | |
DeviceDriver & | operator= (const DeviceDriver &other)=delete |
DeviceDriver & | operator= (DeviceDriver &&other) noexcept=delete |
virtual | ~DeviceDriver () |
virtual std::string | id () const |
Return the id assigned to the PolyDriver. | |
virtual void | setId (const std::string &id) |
Set the id for this device. | |
template<class T > | |
bool | view (T *&x) |
Get an interface to the device driver. | |
virtual DeviceDriver * | getImplementation () |
Some drivers are bureaucrats, pointing at others. | |
![]() | |
virtual | ~IMultipleWrapper () |
Destructor. | |
![]() | |
virtual | ~IThreeAxisGyroscopes () |
![]() | |
virtual | ~IThreeAxisLinearAccelerometers () |
![]() | |
virtual | ~IThreeAxisAngularAccelerometers () |
![]() | |
virtual | ~IThreeAxisMagnetometers () |
![]() | |
virtual | ~IOrientationSensors () |
![]() | |
virtual | ~ITemperatureSensors () |
![]() | |
virtual | ~ISixAxisForceTorqueSensors () |
![]() | |
virtual | ~IContactLoadCellArrays () |
![]() | |
virtual | ~IEncoderArrays () |
![]() | |
virtual | ~ISkinPatches () |
![]() | |
virtual | ~IPositionSensors () |
![]() | |
virtual | ~ILinearVelocitySensors () |
multipleanalogsensorsremapper
: device that takes a list of sensors from multiple analog sensors device and exposes them as a single device exposing MultipleAnalogSensors interface.
YARP device name |
---|
multipleanalogsensorsremapper |
Parameters required by this device are:
Parameter name | SubParameter | Type | Units | Default Value | Required | Description | Notes |
---|---|---|---|---|---|---|---|
{sensorTag}Names | - | vector of strings | - | - | Yes | Ordered list of name that must belong of the remapped device. The list also defines which index will be associated to a given sensor in the remapped devices. For example, if the list (sensorNameA,sensorNameB,sensorNameC) is given, these sensors will have respectively index 0, 1 and 2 in the remapped device. |
The sensorTag is a tag identifying the specific sensor interface, see Multiple Analog Sensor Interfaces for a list of possible sensors. The tag of each sensor interface is provided in the doxygen documentation of the specific interface.
Configuration file using .ini format.
Configuration of the device from C++ code.
Definition at line 86 of file MultipleAnalogSensorsRemapper.h.
|
overridevirtual |
MultipeWrapper methods.
Implements yarp::dev::IMultipleWrapper.
Definition at line 225 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Close the DeviceDriver.
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 74 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Detach the object (you must have first called attach).
Implements yarp::dev::IMultipleWrapper.
Definition at line 257 of file MultipleAnalogSensorsRemapper.cpp.
MAS_status MultipleAnalogSensorsRemapper::genericGetStatus | ( | const MAS_SensorType | sensorType, |
size_t & | sens_index, | ||
const std::vector< Interface * > & | subDeviceVec, | ||
MAS_status(Interface::*)(size_t) const | methodPtr | ||
) | const |
Definition at line 277 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the last reading of the specified sensor.
[in] | sens_index | The index of the specified sensor (should be between 0 and getContactLoadCellArrayMeasure()-1). |
[out] | out | The requested measure. The vector should be getContactLoadCellArrayMeasure(sens_index)-dimensional. The measure is expressed in Newton. |
[out] | timestamp | The timestamp of the requested measure, expressed in seconds. |
Implements yarp::dev::IContactLoadCellArrays.
Definition at line 656 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the specified sensor.
Implements yarp::dev::IContactLoadCellArrays.
Definition at line 651 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the size of the specified contact load cell array.
Implements yarp::dev::IContactLoadCellArrays.
Definition at line 661 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the status of the specified sensor.
Implements yarp::dev::IContactLoadCellArrays.
Definition at line 646 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the last reading of the specified sensor.
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfEncoderArrays()-1). |
[out] | out | The requested measure. The vector should be getEncoderArraySize(sens_index)-dimensional. The measure is expressed in Newton. |
[out] | timestamp | The timestamp of the requested measure, expressed in seconds. |
Implements yarp::dev::IEncoderArrays.
Definition at line 681 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the specified sensor.
Implements yarp::dev::IEncoderArrays.
Definition at line 676 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the size of the specified encoder array.
Implements yarp::dev::IEncoderArrays.
Definition at line 686 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the status of the specified sensor.
Implements yarp::dev::IEncoderArrays.
Definition at line 671 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the frame of the specified sensor.
Implements yarp::dev::ILinearVelocitySensors.
Definition at line 548 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the last reading of the linear velocity sensor as x y z.
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfLinearVelocitySensors()-1). |
[out] | out | The requested measure. The vector should be 3-dimensional. The measure is expressed in meters/second. |
[out] | timestamp | The timestamp of the requested measure, expressed in seconds. |
Implements yarp::dev::ILinearVelocitySensors.
Definition at line 553 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the specified sensor.
Implements yarp::dev::ILinearVelocitySensors.
Definition at line 543 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the status of the specified sensor.
Implements yarp::dev::ILinearVelocitySensors.
Definition at line 538 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the number of contact load cell array exposed by this device.
Implements yarp::dev::IContactLoadCellArrays.
Definition at line 641 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the number of encoder arrays exposed by this device.
Implements yarp::dev::IEncoderArrays.
Definition at line 666 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the number of linear velocity sensors exposed by this device.
Implements yarp::dev::ILinearVelocitySensors.
Definition at line 533 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the number of orientation sensors exposed by this device.
Implements yarp::dev::IOrientationSensors.
Definition at line 558 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the number of position sensors exposed by this device.
Implements yarp::dev::IPositionSensors.
Definition at line 508 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the number of six axis force torque sensors exposed by this device.
Implements yarp::dev::ISixAxisForceTorqueSensors.
Definition at line 616 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the number of skin patches exposed by this device.
Implements yarp::dev::ISkinPatches.
Definition at line 691 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the number of temperature sensors exposed by this device.
Implements yarp::dev::ITemperatureSensors.
Definition at line 583 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the number of three axis angular accelerometers exposed by this device.
Implements yarp::dev::IThreeAxisAngularAccelerometers.
Definition at line 458 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the number of three axis gyroscopes exposed by this sensor.
Implements yarp::dev::IThreeAxisGyroscopes.
Definition at line 408 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the number of three axis linear accelerometers exposed by this device.
Implements yarp::dev::IThreeAxisLinearAccelerometers.
Definition at line 433 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the number of magnetometers exposed by this device.
Implements yarp::dev::IThreeAxisMagnetometers.
Definition at line 483 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the frame of the specified sensor.
Implements yarp::dev::IOrientationSensors.
Definition at line 573 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the last reading of the orientation sensor as roll pitch yaw.
If
with
,
and
where
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfOrientationSensors()-1). |
[out] | out | The requested measure. The vector should be 3-dimensional. The measure is expressed in degrees . |
[out] | timestamp | The timestamp of the requested measure, expressed in seconds. |
Implements yarp::dev::IOrientationSensors.
Definition at line 578 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the specified sensor.
Implements yarp::dev::IOrientationSensors.
Definition at line 568 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the status of the specified sensor.
Implements yarp::dev::IOrientationSensors.
Definition at line 563 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the frame of the specified sensor.
Implements yarp::dev::IPositionSensors.
Definition at line 523 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
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. |
Implements yarp::dev::IPositionSensors.
Definition at line 528 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the specified sensor.
Implements yarp::dev::IPositionSensors.
Definition at line 518 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the status of the specified sensor.
Implements yarp::dev::IPositionSensors.
Definition at line 513 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the frame of the specified sensor.
Implements yarp::dev::ISixAxisForceTorqueSensors.
Definition at line 631 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the last reading of the specified sensor.
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfSixAxisForceTorqueSensors()-1). |
[out] | out | The requested measure. The vector should be 6-dimensional. The measure is expressed in Newton for the first three elements, Newton Meters for the last three elements. |
[out] | timestamp | The timestamp of the requested measure, expressed in seconds. |
Implements yarp::dev::ISixAxisForceTorqueSensors.
Definition at line 636 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the specified sensor.
Implements yarp::dev::ISixAxisForceTorqueSensors.
Definition at line 626 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the status of the specified sensor.
Implements yarp::dev::ISixAxisForceTorqueSensors.
Definition at line 621 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the last reading of the specified sensor.
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfSkinPatches()-1). |
[out] | out | The requested measure. The vector should be getSkinPatchSize(sens_index)-dimensional. The measure is expressed in implementation-specific unit of measure. |
[out] | timestamp | The timestamp of the requested measure, expressed in seconds. |
Implements yarp::dev::ISkinPatches.
Definition at line 706 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the specified sensor.
Implements yarp::dev::ISkinPatches.
Definition at line 701 of file MultipleAnalogSensorsRemapper.cpp.
Get the size of the specified skin patch.
Implements yarp::dev::ISkinPatches.
Definition at line 711 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the status of the specified sensor.
Implements yarp::dev::ISkinPatches.
Definition at line 696 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the frame of the specified sensor.
Implements yarp::dev::ITemperatureSensors.
Definition at line 598 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the last reading of the specified sensor.
TODO(traversaro) : make the method swig-friendly
Implements yarp::dev::ITemperatureSensors.
Definition at line 608 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the last reading of the specified sensor.
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfTemperatureSensors()-1). |
[out] | out | The requested measure. The vector should be 1-dimensional. The measure is expressed in celsius degrees . |
[out] | timestamp | The timestamp of the requested measure, expressed in seconds. |
Implements yarp::dev::ITemperatureSensors.
Definition at line 603 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the specified sensor.
Implements yarp::dev::ITemperatureSensors.
Definition at line 593 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the status of the specified sensor.
Implements yarp::dev::ITemperatureSensors.
Definition at line 588 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the frame of the specified sensor.
Implements yarp::dev::IThreeAxisAngularAccelerometers.
Definition at line 473 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the last reading of the specified sensor.
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfThreeAxisAngularAccelerometers()-1). |
[out] | out | The requested measure. The vector should be 3-dimensional. The measure is expressed in degrees^2/seconds. |
[out] | timestamp | The timestamp of the requested measure, expressed in seconds. |
Implements yarp::dev::IThreeAxisAngularAccelerometers.
Definition at line 478 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the specified sensor.
Implements yarp::dev::IThreeAxisAngularAccelerometers.
Definition at line 468 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the status of the specified sensor.
Implements yarp::dev::IThreeAxisAngularAccelerometers.
Definition at line 463 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the frame of the specified sensor.
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfThreeAxisGyroscopes()-1). |
Implements yarp::dev::IThreeAxisGyroscopes.
Definition at line 423 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the last reading of the gyroscope.
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfThreeAxisGyroscopes()-1). |
[out] | out | The requested measure. The vector should be 3-dimensional. The measure is expressed in degrees/seconds. |
[out] | timestamp | The timestamp of the requested measure, expressed in seconds. |
Implements yarp::dev::IThreeAxisGyroscopes.
Definition at line 428 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the specified sensor.
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfThreeAxisGyroscopes()-1). |
Implements yarp::dev::IThreeAxisGyroscopes.
Definition at line 418 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the status of the specified sensor.
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfThreeAxisGyroscopes()-1). |
Implements yarp::dev::IThreeAxisGyroscopes.
Definition at line 413 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the frame of the specified sensor.
Implements yarp::dev::IThreeAxisLinearAccelerometers.
Definition at line 448 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
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. |
Implements yarp::dev::IThreeAxisLinearAccelerometers.
Definition at line 453 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the specified sensor.
Implements yarp::dev::IThreeAxisLinearAccelerometers.
Definition at line 443 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the status of the specified sensor.
Implements yarp::dev::IThreeAxisLinearAccelerometers.
Definition at line 438 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the frame of the specified sensor.
Implements yarp::dev::IThreeAxisMagnetometers.
Definition at line 498 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
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. |
Implements yarp::dev::IThreeAxisMagnetometers.
Definition at line 503 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the name of the specified sensor.
Implements yarp::dev::IThreeAxisMagnetometers.
Definition at line 493 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Get the status of the specified sensor.
Implements yarp::dev::IThreeAxisMagnetometers.
Definition at line 488 of file MultipleAnalogSensorsRemapper.cpp.
|
overridevirtual |
Open the DeviceDriver.
config | is a list of parameters for the device. Which parameters are effective for your device can vary. See device invocation examples. If there is no example for your device, you can run the "yarpdev" program with the verbose flag set to probe what parameters the device is checking. If that fails too, you'll need to read the source code (please nag one of the yarp developers to add documentation for your device). |
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 79 of file MultipleAnalogSensorsRemapper.cpp.