iCub-main
Public Member Functions | Public Attributes | List of all members
iCubSimulationIMU Class Reference

#include <iCubSimulationIMU.h>

+ Inheritance diagram for iCubSimulationIMU:

Public Member Functions

 iCubSimulationIMU ()
 
virtual ~iCubSimulationIMU ()
 
bool open (yarp::os::Searchable &config) override
 
bool close () override
 
size_t getNrOfThreeAxisGyroscopes () const override
 
yarp::dev::MAS_status getThreeAxisGyroscopeStatus (size_t sens_index) const override
 
bool getThreeAxisGyroscopeName (size_t sens_index, std::string &name) const override
 
bool getThreeAxisGyroscopeFrameName (size_t sens_index, std::string &frameName) const override
 
bool getThreeAxisGyroscopeMeasure (size_t sens_index, yarp::sig::Vector &out, double &timestamp) const override
 
size_t getNrOfThreeAxisLinearAccelerometers () const override
 
yarp::dev::MAS_status getThreeAxisLinearAccelerometerStatus (size_t sens_index) const override
 
bool getThreeAxisLinearAccelerometerName (size_t sens_index, std::string &name) const override
 
bool getThreeAxisLinearAccelerometerFrameName (size_t sens_index, std::string &frameName) const override
 
bool getThreeAxisLinearAccelerometerMeasure (size_t sens_index, yarp::sig::Vector &out, double &timestamp) const override
 
size_t getNrOfThreeAxisMagnetometers () const override
 
yarp::dev::MAS_status getThreeAxisMagnetometerStatus (size_t sens_index) const override
 
bool getThreeAxisMagnetometerName (size_t sens_index, std::string &name) const override
 
bool getThreeAxisMagnetometerFrameName (size_t sens_index, std::string &frameName) const override
 
bool getThreeAxisMagnetometerMeasure (size_t sens_index, yarp::sig::Vector &out, double &timestamp) const override
 
size_t getNrOfOrientationSensors () const override
 
yarp::dev::MAS_status getOrientationSensorStatus (size_t sens_index) const override
 
bool getOrientationSensorName (size_t sens_index, std::string &name) const override
 
bool getOrientationSensorFrameName (size_t sens_index, std::string &frameName) const override
 
bool getOrientationSensorMeasureAsRollPitchYaw (size_t sens_index, yarp::sig::Vector &rpy, double &timestamp) const override
 
void updateIMUData (const yarp::os::Bottle &imuData)
 

Public Attributes

yarp::sig::Vector gyro
 
yarp::sig::Vector rpy
 
yarp::sig::Vector magn
 
yarp::sig::Vector accels
 

Detailed Description

Definition at line 22 of file iCubSimulationIMU.h.

Constructor & Destructor Documentation

◆ iCubSimulationIMU()

iCubSimulationIMU::iCubSimulationIMU ( )

Definition at line 22 of file iCubSimulationIMU.cpp.

◆ ~iCubSimulationIMU()

iCubSimulationIMU::~iCubSimulationIMU ( )
virtual

Definition at line 32 of file iCubSimulationIMU.cpp.

Member Function Documentation

◆ close()

bool iCubSimulationIMU::close ( void  )
override

Definition at line 47 of file iCubSimulationIMU.cpp.

◆ getNrOfOrientationSensors()

size_t iCubSimulationIMU::getNrOfOrientationSensors ( ) const
override

Definition at line 198 of file iCubSimulationIMU.cpp.

◆ getNrOfThreeAxisGyroscopes()

size_t iCubSimulationIMU::getNrOfThreeAxisGyroscopes ( ) const
override

Definition at line 84 of file iCubSimulationIMU.cpp.

◆ getNrOfThreeAxisLinearAccelerometers()

size_t iCubSimulationIMU::getNrOfThreeAxisLinearAccelerometers ( ) const
override

Definition at line 122 of file iCubSimulationIMU.cpp.

◆ getNrOfThreeAxisMagnetometers()

size_t iCubSimulationIMU::getNrOfThreeAxisMagnetometers ( ) const
override

Definition at line 160 of file iCubSimulationIMU.cpp.

◆ getOrientationSensorFrameName()

bool iCubSimulationIMU::getOrientationSensorFrameName ( size_t  sens_index,
std::string &  frameName 
) const
override

Definition at line 213 of file iCubSimulationIMU.cpp.

◆ getOrientationSensorMeasureAsRollPitchYaw()

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

Definition at line 218 of file iCubSimulationIMU.cpp.

◆ getOrientationSensorName()

bool iCubSimulationIMU::getOrientationSensorName ( size_t  sens_index,
std::string &  name 
) const
override

Definition at line 208 of file iCubSimulationIMU.cpp.

◆ getOrientationSensorStatus()

yarp::dev::MAS_status iCubSimulationIMU::getOrientationSensorStatus ( size_t  sens_index) const
override

Definition at line 203 of file iCubSimulationIMU.cpp.

◆ getThreeAxisGyroscopeFrameName()

bool iCubSimulationIMU::getThreeAxisGyroscopeFrameName ( size_t  sens_index,
std::string &  frameName 
) const
override

Definition at line 99 of file iCubSimulationIMU.cpp.

◆ getThreeAxisGyroscopeMeasure()

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

Definition at line 104 of file iCubSimulationIMU.cpp.

◆ getThreeAxisGyroscopeName()

bool iCubSimulationIMU::getThreeAxisGyroscopeName ( size_t  sens_index,
std::string &  name 
) const
override

Definition at line 94 of file iCubSimulationIMU.cpp.

◆ getThreeAxisGyroscopeStatus()

yarp::dev::MAS_status iCubSimulationIMU::getThreeAxisGyroscopeStatus ( size_t  sens_index) const
override

Definition at line 89 of file iCubSimulationIMU.cpp.

◆ getThreeAxisLinearAccelerometerFrameName()

bool iCubSimulationIMU::getThreeAxisLinearAccelerometerFrameName ( size_t  sens_index,
std::string &  frameName 
) const
override

Definition at line 137 of file iCubSimulationIMU.cpp.

◆ getThreeAxisLinearAccelerometerMeasure()

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

Definition at line 142 of file iCubSimulationIMU.cpp.

◆ getThreeAxisLinearAccelerometerName()

bool iCubSimulationIMU::getThreeAxisLinearAccelerometerName ( size_t  sens_index,
std::string &  name 
) const
override

Definition at line 132 of file iCubSimulationIMU.cpp.

◆ getThreeAxisLinearAccelerometerStatus()

yarp::dev::MAS_status iCubSimulationIMU::getThreeAxisLinearAccelerometerStatus ( size_t  sens_index) const
override

Definition at line 127 of file iCubSimulationIMU.cpp.

◆ getThreeAxisMagnetometerFrameName()

bool iCubSimulationIMU::getThreeAxisMagnetometerFrameName ( size_t  sens_index,
std::string &  frameName 
) const
override

Definition at line 175 of file iCubSimulationIMU.cpp.

◆ getThreeAxisMagnetometerMeasure()

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

Definition at line 180 of file iCubSimulationIMU.cpp.

◆ getThreeAxisMagnetometerName()

bool iCubSimulationIMU::getThreeAxisMagnetometerName ( size_t  sens_index,
std::string &  name 
) const
override

Definition at line 170 of file iCubSimulationIMU.cpp.

◆ getThreeAxisMagnetometerStatus()

yarp::dev::MAS_status iCubSimulationIMU::getThreeAxisMagnetometerStatus ( size_t  sens_index) const
override

Definition at line 165 of file iCubSimulationIMU.cpp.

◆ open()

bool iCubSimulationIMU::open ( yarp::os::Searchable &  config)
override

Definition at line 39 of file iCubSimulationIMU.cpp.

◆ updateIMUData()

void iCubSimulationIMU::updateIMUData ( const yarp::os::Bottle &  imuData)

Definition at line 237 of file iCubSimulationIMU.cpp.

Member Data Documentation

◆ accels

yarp::sig::Vector iCubSimulationIMU::accels

Definition at line 67 of file iCubSimulationIMU.h.

◆ gyro

yarp::sig::Vector iCubSimulationIMU::gyro

Definition at line 67 of file iCubSimulationIMU.h.

◆ magn

yarp::sig::Vector iCubSimulationIMU::magn

Definition at line 67 of file iCubSimulationIMU.h.

◆ rpy

yarp::sig::Vector iCubSimulationIMU::rpy

Definition at line 67 of file iCubSimulationIMU.h.


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