iCub-main
Public Member Functions | List of all members
yarp::dev::embObjIMU Class Reference

#include <embObjIMU.h>

+ Inheritance diagram for yarp::dev::embObjIMU:

Public Member Functions

 embObjIMU ()
 This device implements the embObjIMU sensor. More...
 
 ~embObjIMU ()
 
virtual bool open (yarp::os::Searchable &config) override
 
virtual bool close () override
 
virtual size_t getNrOfThreeAxisGyroscopes () const override
 
virtual yarp::dev::MAS_status getThreeAxisGyroscopeStatus (size_t sens_index) const override
 
virtual bool getThreeAxisGyroscopeName (size_t sens_index, std::string &name) const override
 
virtual bool getThreeAxisGyroscopeFrameName (size_t sens_index, std::string &frameName) const override
 
virtual bool getThreeAxisGyroscopeMeasure (size_t sens_index, yarp::sig::Vector &out, double &timestamp) const override
 
virtual size_t getNrOfThreeAxisLinearAccelerometers () const override
 
virtual yarp::dev::MAS_status getThreeAxisLinearAccelerometerStatus (size_t sens_index) const override
 
virtual bool getThreeAxisLinearAccelerometerName (size_t sens_index, std::string &name) const override
 
virtual bool getThreeAxisLinearAccelerometerFrameName (size_t sens_index, std::string &frameName) const override
 
virtual bool getThreeAxisLinearAccelerometerMeasure (size_t sens_index, yarp::sig::Vector &out, double &timestamp) const override
 
virtual size_t getNrOfThreeAxisMagnetometers () const override
 
virtual yarp::dev::MAS_status getThreeAxisMagnetometerStatus (size_t sens_index) const override
 
virtual bool getThreeAxisMagnetometerName (size_t sens_index, std::string &name) const override
 
virtual bool getThreeAxisMagnetometerFrameName (size_t sens_index, std::string &frameName) const override
 
virtual bool getThreeAxisMagnetometerMeasure (size_t sens_index, yarp::sig::Vector &out, double &timestamp) const override
 
virtual size_t getNrOfOrientationSensors () const override
 
virtual yarp::dev::MAS_status getOrientationSensorStatus (size_t sens_index) const override
 
virtual bool getOrientationSensorName (size_t sens_index, std::string &name) const override
 
virtual bool getOrientationSensorFrameName (size_t sens_index, std::string &frameName) const override
 
virtual bool getOrientationSensorMeasureAsRollPitchYaw (size_t sens_index, yarp::sig::Vector &rpy, double &timestamp) const override
 
virtual bool initialised ()
 
virtual eth::iethresType_t type ()
 
virtual bool update (eOprotID32_t id32, double timestamp, void *rxdata)
 
- Public Member Functions inherited from eth::IethResource
virtual ~IethResource ()
 
const char * stringOfType ()
 
virtual bool getEntityName (uint32_t entityId, std::string &entityName)
 

Detailed Description

Definition at line 44 of file embObjIMU.h.

Constructor & Destructor Documentation

◆ embObjIMU()

embObjIMU::embObjIMU ( )

This device implements the embObjIMU sensor.

Author
Valentina Gaggero

Definition at line 45 of file embObjIMU.cpp.

◆ ~embObjIMU()

embObjIMU::~embObjIMU ( )

Definition at line 51 of file embObjIMU.cpp.

Member Function Documentation

◆ close()

bool embObjIMU::close ( void  )
overridevirtual

Definition at line 199 of file embObjIMU.cpp.

◆ getNrOfOrientationSensors()

size_t embObjIMU::getNrOfOrientationSensors ( ) const
overridevirtual

Definition at line 335 of file embObjIMU.cpp.

◆ getNrOfThreeAxisGyroscopes()

size_t embObjIMU::getNrOfThreeAxisGyroscopes ( ) const
overridevirtual

Definition at line 209 of file embObjIMU.cpp.

◆ getNrOfThreeAxisLinearAccelerometers()

size_t embObjIMU::getNrOfThreeAxisLinearAccelerometers ( ) const
overridevirtual

Definition at line 240 of file embObjIMU.cpp.

◆ getNrOfThreeAxisMagnetometers()

size_t embObjIMU::getNrOfThreeAxisMagnetometers ( ) const
overridevirtual

Definition at line 290 of file embObjIMU.cpp.

◆ getOrientationSensorFrameName()

bool embObjIMU::getOrientationSensorFrameName ( size_t  sens_index,
std::string &  frameName 
) const
overridevirtual

Definition at line 360 of file embObjIMU.cpp.

◆ getOrientationSensorMeasureAsRollPitchYaw()

bool embObjIMU::getOrientationSensorMeasureAsRollPitchYaw ( size_t  sens_index,
yarp::sig::Vector &  rpy,
double &  timestamp 
) const
overridevirtual

Definition at line 370 of file embObjIMU.cpp.

◆ getOrientationSensorName()

bool embObjIMU::getOrientationSensorName ( size_t  sens_index,
std::string &  name 
) const
overridevirtual

Definition at line 350 of file embObjIMU.cpp.

◆ getOrientationSensorStatus()

yarp::dev::MAS_status embObjIMU::getOrientationSensorStatus ( size_t  sens_index) const
overridevirtual

Definition at line 340 of file embObjIMU.cpp.

◆ getThreeAxisGyroscopeFrameName()

bool embObjIMU::getThreeAxisGyroscopeFrameName ( size_t  sens_index,
std::string &  frameName 
) const
overridevirtual

Definition at line 228 of file embObjIMU.cpp.

◆ getThreeAxisGyroscopeMeasure()

bool embObjIMU::getThreeAxisGyroscopeMeasure ( size_t  sens_index,
yarp::sig::Vector &  out,
double &  timestamp 
) const
overridevirtual

Definition at line 234 of file embObjIMU.cpp.

◆ getThreeAxisGyroscopeName()

bool embObjIMU::getThreeAxisGyroscopeName ( size_t  sens_index,
std::string &  name 
) const
overridevirtual

Definition at line 222 of file embObjIMU.cpp.

◆ getThreeAxisGyroscopeStatus()

yarp::dev::MAS_status embObjIMU::getThreeAxisGyroscopeStatus ( size_t  sens_index) const
overridevirtual

Definition at line 216 of file embObjIMU.cpp.

◆ getThreeAxisLinearAccelerometerFrameName()

bool embObjIMU::getThreeAxisLinearAccelerometerFrameName ( size_t  sens_index,
std::string &  frameName 
) const
overridevirtual

Definition at line 268 of file embObjIMU.cpp.

◆ getThreeAxisLinearAccelerometerMeasure()

bool embObjIMU::getThreeAxisLinearAccelerometerMeasure ( size_t  sens_index,
yarp::sig::Vector &  out,
double &  timestamp 
) const
overridevirtual

Definition at line 279 of file embObjIMU.cpp.

◆ getThreeAxisLinearAccelerometerName()

bool embObjIMU::getThreeAxisLinearAccelerometerName ( size_t  sens_index,
std::string &  name 
) const
overridevirtual

Definition at line 257 of file embObjIMU.cpp.

◆ getThreeAxisLinearAccelerometerStatus()

yarp::dev::MAS_status embObjIMU::getThreeAxisLinearAccelerometerStatus ( size_t  sens_index) const
overridevirtual

Definition at line 247 of file embObjIMU.cpp.

◆ getThreeAxisMagnetometerFrameName()

bool embObjIMU::getThreeAxisMagnetometerFrameName ( size_t  sens_index,
std::string &  frameName 
) const
overridevirtual

Definition at line 315 of file embObjIMU.cpp.

◆ getThreeAxisMagnetometerMeasure()

bool embObjIMU::getThreeAxisMagnetometerMeasure ( size_t  sens_index,
yarp::sig::Vector &  out,
double &  timestamp 
) const
overridevirtual

Definition at line 325 of file embObjIMU.cpp.

◆ getThreeAxisMagnetometerName()

bool embObjIMU::getThreeAxisMagnetometerName ( size_t  sens_index,
std::string &  name 
) const
overridevirtual

Definition at line 305 of file embObjIMU.cpp.

◆ getThreeAxisMagnetometerStatus()

yarp::dev::MAS_status embObjIMU::getThreeAxisMagnetometerStatus ( size_t  sens_index) const
overridevirtual

Definition at line 295 of file embObjIMU.cpp.

◆ initialised()

bool embObjIMU::initialised ( )
virtual

Implements eth::IethResource.

Definition at line 382 of file embObjIMU.cpp.

◆ open()

bool embObjIMU::open ( yarp::os::Searchable &  config)
overridevirtual

Definition at line 115 of file embObjIMU.cpp.

◆ type()

eth::iethresType_t embObjIMU::type ( )
virtual

Implements eth::IethResource.

Definition at line 387 of file embObjIMU.cpp.

◆ update()

bool embObjIMU::update ( eOprotID32_t  id32,
double  timestamp,
void *  rxdata 
)
virtual

Implements eth::IethResource.

Definition at line 395 of file embObjIMU.cpp.


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