YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::dev::IThreeAxisAngularAccelerometers Class Referenceabstract

#include <yarp/dev/MultipleAnalogSensorsInterfaces.h>

+ Inheritance diagram for yarp::dev::IThreeAxisAngularAccelerometers:

Public Member Functions

virtual size_t getNrOfThreeAxisAngularAccelerometers () const =0
 Get the number of three axis angular accelerometers exposed by this device.
 
virtual yarp::dev::MAS_status getThreeAxisAngularAccelerometerStatus (size_t sens_index) const =0
 Get the status of the specified sensor.
 
virtual bool getThreeAxisAngularAccelerometerName (size_t sens_index, std::string &name) const =0
 Get the name of the specified sensor.
 
virtual bool getThreeAxisAngularAccelerometerFrameName (size_t sens_index, std::string &frameName) const =0
 Get the name of the frame of the specified sensor.
 
virtual bool getThreeAxisAngularAccelerometerMeasure (size_t sens_index, yarp::sig::Vector &out, double &timestamp) const =0
 Get the last reading of the specified sensor.
 
virtual ~IThreeAxisAngularAccelerometers ()
 

Detailed Description

Definition at line 150 of file MultipleAnalogSensorsInterfaces.h.

Constructor & Destructor Documentation

◆ ~IThreeAxisAngularAccelerometers()

virtual yarp::dev::IThreeAxisAngularAccelerometers::~IThreeAxisAngularAccelerometers ( )
inlinevirtual

Definition at line 185 of file MultipleAnalogSensorsInterfaces.h.

Member Function Documentation

◆ getNrOfThreeAxisAngularAccelerometers()

virtual size_t yarp::dev::IThreeAxisAngularAccelerometers::getNrOfThreeAxisAngularAccelerometers ( ) const
pure virtual

Get the number of three axis angular accelerometers exposed by this device.

Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.

◆ getThreeAxisAngularAccelerometerFrameName()

virtual bool yarp::dev::IThreeAxisAngularAccelerometers::getThreeAxisAngularAccelerometerFrameName ( size_t  sens_index,
std::string &  frameName 
) const
pure virtual

Get the name of the frame of the specified sensor.

Returns
false if an error occurred, true otherwise.

Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.

◆ getThreeAxisAngularAccelerometerMeasure()

virtual bool yarp::dev::IThreeAxisAngularAccelerometers::getThreeAxisAngularAccelerometerMeasure ( size_t  sens_index,
yarp::sig::Vector out,
double &  timestamp 
) const
pure virtual

Get the last reading of the specified sensor.

Parameters
[in]sens_indexThe index of the specified sensor (should be between 0 and getNrOfThreeAxisAngularAccelerometers()-1).
[out]outThe requested measure. The vector should be 3-dimensional. The measure is expressed in degrees^2/seconds.
[out]timestampThe timestamp of the requested measure, expressed in seconds.
Returns
false if an error occurred, true otherwise.

Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.

◆ getThreeAxisAngularAccelerometerName()

virtual bool yarp::dev::IThreeAxisAngularAccelerometers::getThreeAxisAngularAccelerometerName ( size_t  sens_index,
std::string &  name 
) const
pure virtual

Get the name of the specified sensor.

Returns
false if an error occurred, true otherwise.

Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.

◆ getThreeAxisAngularAccelerometerStatus()

virtual yarp::dev::MAS_status yarp::dev::IThreeAxisAngularAccelerometers::getThreeAxisAngularAccelerometerStatus ( size_t  sens_index) const
pure virtual

Get the status of the specified sensor.

Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.


The documentation for this class was generated from the following file: