Closed jeljaik closed 7 years ago
It was pointed out to me that I could use the XSens plugin in YARP when attaching a single xsens
IMU to my laptop. It is as simple as adding to my quaternionEKF
application the following module:
yarpdev --device inertial --subdevice xsensmtx --name /externalxsens/data:o
Where:
inertial
is the C++ class yarp::dev::ServerInertial, a network wrapper.xsensmtx
is the compiled driver (library xsensmtx.so
) which can be found $ICUB_DIR/lib/iCub/xsensmtx.so
when enabled at compilation time through the flag ENABLE_icubmod_xsensmtx
Next, you will find a port called /externalxsens/data:o
with a similar output to that of /inertial
when using the real robot.
References:
yarp::dev::ServerInertial
http://wiki.icub.org/yarpdoc/classyarp_1_1dev_1_1ServerInertial.html#a699dac877ee2fca256025891fd9876a8Simplification done in commit: https://github.com/robotology/codyco-modules/commit/53d630a3485dc8f81fbb727704517a78507014da
:+1: Maybe this can be someother place than an issue so that we can look it up without having an open issue?
I guess the codyco-modules wiki might be appropriate. Moved here: https://github.com/robotology/codyco-modules/wiki/External-Inertial-Sensors-for-iCubGenova02 @prashanthr05 @naveenoid (Hope it's ok to put it there @traversaro. If you object, let me know)
Closing for cleanup of old issues.
TODO
/icub/right_leg/inertialMTB
.usingSkin
to read from acc and gyro from the skin patch (Note: the acc. reading is actually coming from the MTB originally installed in the foot, not from the skin patch).quaternionEKFModule.cpp
Notes