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

#include <yarp/dev/MultipleAnalogSensorsInterfaces.h>

+ Inheritance diagram for yarp::dev::ILinearVelocitySensors:

Public Member Functions

virtual yarp::dev::ReturnValue getNrOfLinearVelocitySensors (size_t &num) const =0
 Get the number of linear velocity sensors exposed by this device.
 
virtual yarp::dev::MAS_status getLinearVelocitySensorStatus (size_t sens_index) const =0
 Get the status of the specified sensor.
 
virtual yarp::dev::ReturnValue getLinearVelocitySensorName (size_t sens_index, std::string &name) const =0
 Get the name of the specified sensor.
 
virtual yarp::dev::ReturnValue getLinearVelocitySensorFrameName (size_t sens_index, std::string &frameName) const =0
 Get the name of the frame of the specified sensor.
 
virtual yarp::dev::ReturnValue getLinearVelocitySensorMeasure (size_t sens_index, yarp::sig::Vector &xyz, double &timestamp) const =0
 Get the last reading of the linear velocity sensor as x y z.
 
virtual ~ILinearVelocitySensors ()
 

Detailed Description

Definition at line 298 of file MultipleAnalogSensorsInterfaces.h.

Constructor & Destructor Documentation

◆ ~ILinearVelocitySensors()

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

Definition at line 337 of file MultipleAnalogSensorsInterfaces.h.

Member Function Documentation

◆ getLinearVelocitySensorFrameName()

virtual yarp::dev::ReturnValue yarp::dev::ILinearVelocitySensors::getLinearVelocitySensorFrameName ( size_t  sens_index,
std::string &  frameName 
) const
pure virtual

Get the name of the frame of the specified sensor.

Note
This is an implementation specific method, that may return the name of the sensor frame in a scenegraph
Returns
false if an error occurred, true otherwise.

Implemented in realsense2Tracking, MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.

◆ getLinearVelocitySensorMeasure()

virtual yarp::dev::ReturnValue yarp::dev::ILinearVelocitySensors::getLinearVelocitySensorMeasure ( size_t  sens_index,
yarp::sig::Vector &  xyz,
double &  timestamp 
) const
pure virtual

Get the last reading of the linear velocity sensor as x y z.

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

Implemented in realsense2Tracking, MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.

◆ getLinearVelocitySensorName()

virtual yarp::dev::ReturnValue yarp::dev::ILinearVelocitySensors::getLinearVelocitySensorName ( 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 realsense2Tracking, MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.

◆ getLinearVelocitySensorStatus()

virtual yarp::dev::MAS_status yarp::dev::ILinearVelocitySensors::getLinearVelocitySensorStatus ( size_t  sens_index) const
pure virtual

Get the status of the specified sensor.

Implemented in realsense2Tracking, MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.

◆ getNrOfLinearVelocitySensors()

virtual yarp::dev::ReturnValue yarp::dev::ILinearVelocitySensors::getNrOfLinearVelocitySensors ( size_t &  num) const
pure virtual

Get the number of linear velocity sensors exposed by this device.

Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.


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