iCub-main
|
xsensmtx
: driver for XSens's MTx IMU unit.
More...
#include <XSensMTx.h>
Public Member Functions | |
XSensMTx () | |
Driver for XSens's MTx IMU unit. More... | |
virtual | ~XSensMTx () |
bool | read (yarp::sig::Vector &out) override |
bool | getChannels (int *nc) override |
bool | open (yarp::os::Searchable &config) override |
bool | calibrate (int ch, double v) override |
bool | close () override |
yarp::os::Stamp | getLastInputStamp () override |
size_t | getNrOfThreeAxisGyroscopes () const override |
Get the number of three axis gyroscopes in the device. More... | |
yarp::dev::MAS_status | getThreeAxisGyroscopeStatus (size_t sens_index) const override |
Get the status of three axis gyroscope. More... | |
bool | getThreeAxisGyroscopeName (size_t sens_index, std::string &name) const override |
Get the name of three axis gyroscope. More... | |
bool | getThreeAxisGyroscopeFrameName (size_t sens_index, std::string &frameName) const override |
Get the name of the frame in which three axis gyroscope measurements are expressed. More... | |
bool | getThreeAxisGyroscopeMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const override |
Get three axis gyroscope measurements. More... | |
size_t | getNrOfThreeAxisLinearAccelerometers () const override |
Get the number of three axis linear accelerometers in the device. More... | |
yarp::dev::MAS_status | getThreeAxisLinearAccelerometerStatus (size_t sens_index) const override |
Get the status of three axis linear accelerometer. More... | |
bool | getThreeAxisLinearAccelerometerName (size_t sens_index, std::string &name) const override |
Get the name of three axis linear accelerometer. More... | |
bool | getThreeAxisLinearAccelerometerFrameName (size_t sens_index, std::string &frameName) const override |
Get the name of the frame in which three axis linear accelerometer measurements are expressed. More... | |
bool | getThreeAxisLinearAccelerometerMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const override |
Get three axis linear accelerometer measurements. More... | |
size_t | getNrOfThreeAxisMagnetometers () const override |
Get the number of three axis magnetometers in the device. More... | |
yarp::dev::MAS_status | getThreeAxisMagnetometerStatus (size_t sens_index) const override |
Get the status of three axis magnetometer. More... | |
bool | getThreeAxisMagnetometerName (size_t sens_index, std::string &name) const override |
Get the name of three axis magnetometer. More... | |
bool | getThreeAxisMagnetometerFrameName (size_t sens_index, std::string &frameName) const override |
Get the name of the frame in which three axis magnetometer measurements are expressed. More... | |
bool | getThreeAxisMagnetometerMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const override |
Get three axis magnetometer measurements. More... | |
size_t | getNrOfOrientationSensors () const override |
Get the number of orientation sensors in the device. More... | |
yarp::dev::MAS_status | getOrientationSensorStatus (size_t sens_index) const override |
Get the status of orientation sensor. More... | |
bool | getOrientationSensorName (size_t sens_index, std::string &name) const override |
Get the name of orientation sensor. More... | |
bool | getOrientationSensorFrameName (size_t sens_index, std::string &frameName) const override |
Get the name of the frame in which orientation sensor measurements are expressed. More... | |
bool | getOrientationSensorMeasureAsRollPitchYaw (size_t sens_index, yarp::sig::Vector &rpy, double ×tamp) const override |
Get orientation sensor measurements. More... | |
bool | open (const XSensMTxParameters &par) |
xsensmtx
: driver for XSens's MTx IMU unit.
YARP device name |
---|
xsensmtx |
Definition at line 41 of file XSensMTx.h.
XSensMTx::XSensMTx | ( | ) |
Driver for XSens's MTx IMU unit.
Definition at line 134 of file XSensMTx.cpp.
|
virtual |
Definition at line 141 of file XSensMTx.cpp.
|
override |
Definition at line 179 of file XSensMTx.cpp.
|
override |
Definition at line 315 of file XSensMTx.cpp.
|
override |
Definition at line 173 of file XSensMTx.cpp.
|
override |
Definition at line 340 of file XSensMTx.cpp.
|
override |
Get the number of orientation sensors in the device.
Definition at line 399 of file XSensMTx.cpp.
|
override |
Get the number of three axis gyroscopes in the device.
Definition at line 373 of file XSensMTx.cpp.
|
override |
Get the number of three axis linear accelerometers in the device.
Definition at line 346 of file XSensMTx.cpp.
|
override |
Get the number of three axis magnetometers in the device.
Definition at line 424 of file XSensMTx.cpp.
|
override |
Get the name of the frame in which orientation sensor measurements are expressed.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
[out] | frameName | name of the sensor frame |
Definition at line 414 of file XSensMTx.cpp.
|
override |
Get orientation sensor measurements.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
[out] | out | RPY Euler angles in deg |
[out] | timestamp | timestamp of measurement |
Definition at line 419 of file XSensMTx.cpp.
|
override |
Get the name of orientation sensor.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
[out] | name | name of the sensor |
Definition at line 409 of file XSensMTx.cpp.
|
override |
Get the status of orientation sensor.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
Definition at line 404 of file XSensMTx.cpp.
|
override |
Get the name of the frame in which three axis gyroscope measurements are expressed.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
[out] | frameName | name of the sensor frame |
Definition at line 389 of file XSensMTx.cpp.
|
override |
Get three axis gyroscope measurements.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
[out] | out | 3D angular velocity measurement in deg/s |
[out] | timestamp | timestamp of measurement |
Definition at line 394 of file XSensMTx.cpp.
|
override |
Get the name of three axis gyroscope.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
[out] | name | name of the sensor |
Definition at line 384 of file XSensMTx.cpp.
|
override |
Get the status of three axis gyroscope.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
Definition at line 379 of file XSensMTx.cpp.
|
override |
Get the name of the frame in which three axis linear accelerometer measurements are expressed.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
[out] | frameName | name of the sensor frame |
Definition at line 362 of file XSensMTx.cpp.
|
override |
Get three axis linear accelerometer measurements.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
[out] | out | 3D linear acceleration measurement in m/s^2 |
[out] | timestamp | timestamp of measurement |
Definition at line 367 of file XSensMTx.cpp.
|
override |
Get the name of three axis linear accelerometer.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
[out] | name | name of the sensor |
Definition at line 357 of file XSensMTx.cpp.
|
override |
Get the status of three axis linear accelerometer.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
Definition at line 352 of file XSensMTx.cpp.
|
override |
Get the name of the frame in which three axis magnetometer measurements are expressed.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
[out] | frameName | name of the sensor frame |
Definition at line 439 of file XSensMTx.cpp.
|
override |
Get three axis magnetometer measurements.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
[out] | out | 3D magnetometer measurement |
[out] | timestamp | timestamp of measurement |
Definition at line 444 of file XSensMTx.cpp.
|
override |
Get the name of three axis magnetometer.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
[out] | name | name of the sensor |
Definition at line 434 of file XSensMTx.cpp.
|
override |
Get the status of three axis magnetometer.
[in] | sens_index | sensor index (must be 0 in the case BoschIMU) |
Definition at line 429 of file XSensMTx.cpp.
bool XSensMTx::open | ( | const XSensMTxParameters & | par | ) |
Definition at line 230 of file XSensMTx.cpp.
|
override |
Definition at line 207 of file XSensMTx.cpp.
|
override |
Definition at line 151 of file XSensMTx.cpp.