-
Notifications
You must be signed in to change notification settings - Fork 29
Human Dynamics Estimation IWear Source Devices
Considering you followed the wiki on network level setup correctly, this wiki page will help you to run the devices Xsens suit and FTShoes that provides input data to the components of Human Dynamics Estimation (HDE). The wearables library provides a nice abstraction of the wearable multi-sensory equipment like Xsens suit and FTShoes. The data from the equipment is streamed as a wearable data format that provides the network transparency from the sources. For more details, please refer to wearables. This wiki page will help you to run the wearable devices for the xsens suit and the FTShoes.
xsens-mvn repository provides the yarp drivers for the xsens mvn system. Ensure that the CMAKE_INSTALL_PREFIX is pointed to the install directory of your robotology-superbuild installation. Once xsens-mvn is installed, the following steps will help to start a Xsens suit IWear device.
- On the windows machine, go to the desktop work space on which
yarpserver.exe --rosis launched. Open three more windows power shell terminals and arrange them as in the image below

-
The first terminal on top left is where
yarpserver.exe --rosis launched. -
The middle terminal is where we will launch the
yarprobotinterfacewith the config file for the xsens suit IWear device. So, run
cd <path-to-wearables>/conf/Xsens
yarprobotinterface.ext --config xsens_windows_all_wrappers.xml
-
If the suit device is launched correctly, the terminal should output
[DEBUG]yarprobotinterface running happily. Otherwise, please relaunchyarprobotinterface. -
Now, move to the third terminal and run
yarp rpc /XsensSuit/Control/rpc:i. This is how we can communicate with the suit device to perform actions like calibration and data acquisition. -
Before proceeding to data acquisition we need to calibrate the device. To achieve this, issue
calibratecommand on the rpc terminal. The resulting output will be as shown in the image below

-
Be cautious about the configuration parameters like default-calibration-type while performing the calibration procedure. The user of the suit should be in the set mode (either
TposeorNpose) while calibrating the suit. Once the calibration is done successfully, the rpc terminal will displayResponse: [ok] -
Now, to acquire data from the suit give
startAcquisitioncommand on the rpc terminal. This will start acquiring data from the xsens suit and streams it as a wearable data format through yarp port. -
To verify if the wearable data is streamed correctly from the suit, move to the bottom terminal and read the wearable data yarp port by running
yarp read ... /XsensSuit/WearableData/data:o. This will display the data acquired from the suit on the terminal as wearable data format as shown in the image below
