10#ifndef __embObjIMU_h__
11#define __embObjIMU_h__
14#include <yarp/dev/DeviceDriver.h>
16#include <yarp/dev/MultipleAnalogSensorsInterfaces.h>
45 public yarp::dev::IThreeAxisGyroscopes,
46 public yarp::dev::IThreeAxisLinearAccelerometers,
47 public yarp::dev::IThreeAxisMagnetometers,
48 public yarp::dev::IOrientationSensors,
57 virtual bool open(yarp::os::Searchable &config)
override;
58 virtual bool close()
override;
92 virtual bool update(eOprotID32_t id32,
double timestamp,
void* rxdata);
99 std::string getBoardInfo(
void)
const;
100 std::pair <size_t, eOas_sensor_t> getGyroSubIndex(
size_t sens_index)
const;
101 std::pair <size_t, eOas_sensor_t> getAccSubIndex(
size_t sens_index)
const;
105 void updateDebugPrints(eOprotID32_t id32,
double timestamp,
void* rxdata);
virtual yarp::dev::MAS_status getThreeAxisGyroscopeStatus(size_t sens_index) const override
virtual bool getOrientationSensorFrameName(size_t sens_index, std::string &frameName) const override
virtual size_t getNrOfThreeAxisMagnetometers() const override
virtual bool getOrientationSensorName(size_t sens_index, std::string &name) const override
virtual bool getThreeAxisLinearAccelerometerName(size_t sens_index, std::string &name) const override
embObjIMU()
This device implements the embObjIMU sensor.
virtual yarp::dev::MAS_status getThreeAxisLinearAccelerometerStatus(size_t sens_index) const override
virtual eth::iethresType_t type()
virtual bool getOrientationSensorMeasureAsRollPitchYaw(size_t sens_index, yarp::sig::Vector &rpy, double ×tamp) const override
virtual bool close() override
virtual bool initialised()
virtual bool update(eOprotID32_t id32, double timestamp, void *rxdata)
virtual yarp::dev::MAS_status getOrientationSensorStatus(size_t sens_index) const override
virtual yarp::dev::MAS_status getThreeAxisMagnetometerStatus(size_t sens_index) const override
virtual size_t getNrOfThreeAxisGyroscopes() const override
virtual bool getThreeAxisGyroscopeFrameName(size_t sens_index, std::string &frameName) const override
virtual size_t getNrOfOrientationSensors() const override
virtual bool getThreeAxisGyroscopeMeasure(size_t sens_index, yarp::sig::Vector &out, double ×tamp) const override
virtual bool open(yarp::os::Searchable &config) override
virtual bool getThreeAxisGyroscopeName(size_t sens_index, std::string &name) const override
virtual bool getThreeAxisMagnetometerName(size_t sens_index, std::string &name) const override
virtual bool getThreeAxisLinearAccelerometerFrameName(size_t sens_index, std::string &frameName) const override
virtual size_t getNrOfThreeAxisLinearAccelerometers() const override
virtual bool getThreeAxisMagnetometerFrameName(size_t sens_index, std::string &frameName) const override
virtual bool getThreeAxisLinearAccelerometerMeasure(size_t sens_index, yarp::sig::Vector &out, double ×tamp) const override
virtual bool getThreeAxisMagnetometerMeasure(size_t sens_index, yarp::sig::Vector &out, double ×tamp) const override
Copyright (C) 2008 RobotCub Consortium.