-
Notifications
You must be signed in to change notification settings - Fork 29
Set up Machine for running HDE
This page describes the step to prepare a computer for running the software required for running Human Dynamic Estimation.
The computer will be able to:
- Control the Xsens suit (only
Windows) - Read data from FTShoes/FTSkShoes
- Process the data (HDE)
- Visualize the data
The overall software infrastructure is shown in the following diagram:

The more relevant required piece of software are the following, and the way to install them is described below:
- YARP
- ICUB
- iDynTree
- forcetorque-yarp-devices
- icub-firmware-shared
- wearables
- human-dynamics-estimation
the installation procedure uses the Robotology Superbuild, so it is strongly suggested to take a look at the robotology-superbuild installation guidelines which may be more updated.
(Refer to robotology-superbuild for more details)
-
clone:
cd $dev git clone https://github.com/robotology/robotology-superbuild.git cd robotology-superbuild mkdir build -
configure the following CMake variables and then generate (via
CMake GUIor terminal):CMake Variables SOURCE CODE:$DEV/robotology-superbuildBUILD IN:$DEV/robotology-superbuild/buildROBOTOLOGY_ENABLE_DYNAMICStrueCMAKE_INSTALL_PREFIX$DEV/robotology-superbuild/build/install -
build:
- unix
cd build make install- windows
cd build cmake --build . --config Release --target INSTALL -
Add Enviornment Variables
Environment Variables ROBOTOLOGY_SUPERBUILD_ROOT$DEV\robotology-superbuildROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX$DEV\robotology-superbuild\build\installPath$DEV\robotology-superbuild\build\install\bin$DEV\robotology-superbuild\build\install\libYARP_DATA_DIRS$DEV\robotology-superbuild\build\install\share\yarp$DEV\robotology-superbuild\build\install\share\iCub$DEV\robotology-superbuild\build\install\share\ICUBcontrib$DEV\robotology-superbuild\robotology\icub-tests\suits(Those variables can be directly set by using
source $ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX/share/robotology-superbuild/setup.shinLinux, or thePowerShellscriptrobotology-superbuild/build/install/share/robotology-superbuild/addPathsToUserEnvVariables.ps1inWindows)
(Refer to icub-firmware-shared for more details)
-
clone:
cd $DEV git clone https://github.com/robotology/icub-firmware-shared.git cd icub-firmware-shared mkdir build -
configure the following CMake variables and then generate (via
CMake GUIor terminal):CMake Variables SOURCE CODE:$DEV/icub-firmware-sharedBUILD IN:$DEV/icub-firmware-shared/build -
build:
- unix
cd build make install- windows
cd build cmake --build . --config Release --target INSTALL
(Refer to icub-main for more details)
The icub-main software is compiled by the robotology-superbuild. However, it is required to recompile it after changing some of its CMake options in order to have the whole HDE software running:
-
configure the following CMake variables and then generate (via
CMake GUIor terminal):CMake Variables SOURCE CODE:$DEV/robotology-superbuild/robotology/ICUBBUILD IN:$DEV/robotology-superbuild/build/robotology/ICUBENABLE_icubmod_ecantrueENABLE_icubmod_canBusAnalogSensortrueENABLE_icubmod_embObjFTsensortrueENABLE_icubmod_gazecontrollerclienttrueENABLE_icubmod_cartesiancontrollerclienttrueENABLE_icubmod_cartesiancontrollerservertrueENABLE_icubmod_canBusSkintrueENABLE_icubmod_skinWrappertrueICUB_USE_icub_firmware_sharedtrueicub_firmware_shared_DIR$DEV/icub_firmware_shared/buildCMAKE_INSTALL_PREFIX$DEV/robotology-superbuild/build/installESDCANAPI_LIBpath-to-ntcan.lib/ntcal.a(e.g.C:/ProgramFiles/ESD/CAN/SDK/lib/VC/amd64/ntcan.libinWindows) -
build:
- unix
cd build make install- windows
cd build cmake --build . --config Release --target INSTALL
(Refer to forcetorque-yarp-devices for more details)
-
clone:
cd $DEV git clone https://github.com/robotology-playground/forcetorque-yarp-devices.git cd forcetorque-yarp-devices mkdir build -
configure the following CMake variables and then generate (via
CMake GUIor terminal):CMake Variables SOURCE CODE:$DEV/forcetorque-yarp-devicesBUILD IN:$DEV/forcetorque-yarp-devices/buildCMAKE_INSTALL_PREFIX$DEV/robotology-superbuild/build/installENABLE_ftshoetrue -
build:
- unix
cd build make install- windows
cd build cmake --build . --config Release --target INSTALL
(Refer to wearables for more details)
-
clone:
cd $DEV git clone https://github.com/robotology-playground/wearables.git cd wearables mkdir build(N.B. the
human-dynamics-estimationsoftware is under development and the stable branch for running the fullHDEmay change) -
configure the following CMake variables and then generate (via
CMake GUIor terminal):CMake Variables SOURCE CODE:$DEV/wearablesBUILD IN:$DEV/wearables/buildCMAKE_INSTALL_PREFIX$DEV/robotology-superbuild/build/installXsens_INCLUDE_DIR(Only forWindows)C:/Program Files/Xsens/MVN SDK 2018.0.3/SDK Files/x64/includeXsens_xme_LIBRARY(Only forWindows)C:/Program Files/Xsens/MVN SDK 2018.0.3/SDK Files/x64/lib/xme64.libXsens_xstypes_LIBRARY(Only forWindows)C:/Program Files/Xsens/MVN SDK 2018.0.3/SDK Files/x64/lib/xstypes64.lib(N.B the prefix of the following path can change depending on the version and the installation path chosen.)
-
build:
- unix
cd build make install- windows
cd build cmake --build . --config Release --target INSTALL
(Refer to human-dynamics-estimation for more details)
-
clone:
cd $DEV git clone https://github.com/robotology/human-dynamics-estimation.git cd human-dynamics-estimation mkdir build(N.B. the
human-dynamics-estimationsoftware is under development and the stable branch for running the fullHDEmay change) -
configure the following CMake variables and then generate (via
CMake GUIor terminal):CMake Variables SOURCE CODE:$DEV/human-dynamics-estimationBUILD IN:$DEV/human-dynamics-estimation/buildCMAKE_INSTALL_PREFIX$DEV/robotology-superbuild/build/install -
build:
- unix
cd build make install- windows
cd build cmake --build . --config Release --target INSTALL -
Add Enviornment Variables
Environment Variables YARP_DATA_DIRS$DEV\human-dynamics-estimation\app\urdfs