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

#include <eo_imu_privData.h>

Public Member Functions

 SensorsData ()
 
void init (servConfigImu_t &servCfg, string error_string)
 
bool update (eOas_sensor_t type, uint8_t index, eOas_inertial3_data_t *newdata)
 
bool updateStatus (eOas_sensor_t type, uint8_t index, eOas_inertial3_sensorstatus_t &status)
 
bool outOfRangeErrorHandler (const std::out_of_range &oor) const
 
size_t getNumOfSensors (eOas_sensor_t type) const
 
uint8_t getSensorStatus (size_t sens_index, eOas_sensor_t type) const
 
bool getSensorName (size_t sens_index, eOas_sensor_t type, std::string &name) const
 
bool getSensorFrameName (size_t sens_index, eOas_sensor_t type, std::string &frameName) const
 
bool getSensorMeasure (size_t sens_index, eOas_sensor_t type, yarp::sig::Vector &out, double &timestamp) const
 

Detailed Description

Definition at line 55 of file eo_imu_privData.h.

Constructor & Destructor Documentation

◆ SensorsData()

SensorsData::SensorsData ( )

Definition at line 127 of file eo_imu_privData.cpp.

Member Function Documentation

◆ getNumOfSensors()

size_t SensorsData::getNumOfSensors ( eOas_sensor_t  type) const

Definition at line 189 of file eo_imu_privData.cpp.

◆ getSensorFrameName()

bool SensorsData::getSensorFrameName ( size_t  sens_index,
eOas_sensor_t  type,
std::string &  frameName 
) const

Definition at line 225 of file eo_imu_privData.cpp.

◆ getSensorMeasure()

bool SensorsData::getSensorMeasure ( size_t  sens_index,
eOas_sensor_t  type,
yarp::sig::Vector &  out,
double &  timestamp 
) const

Definition at line 240 of file eo_imu_privData.cpp.

◆ getSensorName()

bool SensorsData::getSensorName ( size_t  sens_index,
eOas_sensor_t  type,
std::string &  name 
) const

Definition at line 211 of file eo_imu_privData.cpp.

◆ getSensorStatus()

uint8_t SensorsData::getSensorStatus ( size_t  sens_index,
eOas_sensor_t  type 
) const

Definition at line 195 of file eo_imu_privData.cpp.

◆ init()

void SensorsData::init ( servConfigImu_t servCfg,
string  error_string 
)

Definition at line 137 of file eo_imu_privData.cpp.

◆ outOfRangeErrorHandler()

bool SensorsData::outOfRangeErrorHandler ( const std::out_of_range &  oor) const

Definition at line 183 of file eo_imu_privData.cpp.

◆ update()

bool SensorsData::update ( eOas_sensor_t  type,
uint8_t  index,
eOas_inertial3_data_t *  newdata 
)

Definition at line 255 of file eo_imu_privData.cpp.

◆ updateStatus()

bool SensorsData::updateStatus ( eOas_sensor_t  type,
uint8_t  index,
eOas_inertial3_sensorstatus_t &  status 
)

Definition at line 270 of file eo_imu_privData.cpp.


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