Linux/macOS |
---|
Human Dynamics Estimation (HDE) is a collection of YARP devices for the online estimation of the kinematics and dynamics of a human subject monitored with a set of wearable sensors and/or interacting with a robot. A ROS-based visualizer allows to visualize in real-time the output of the estimation. The devices can be installed and run in Linux, MacOS and Windows.
The main devices contained in this project are the following:
- HumanStateProvider: solve inverse kinematics given a set of kinematic sensor.
- HumanDynamicsEstimator: solve the inverse dynamics given the kinematic state and a set of wrenches measurment.
- RobotPositionControl: controls the position of a robot with a given kinematic state.
The information coming from the sensors come in the form of the IWear
YARP interface, for more reference on how those are generated please refer to Wearables
. All the information exchanged among the HDE devices trough implmented in this project (IHumanDynamics
, IHumanState
, IHumanWrench
) and can be published among a network using the coreresponding wrapper devices
A possible architecture integrating wearable sensors and HDE is described in the following scheme:
Here following there is a list of dependencies you need for using this repository. It is worth to notice that the build ones and the libraries are mandatory to install your project. Instead, the optional dependencies are defined optional in the sense that the project is built even if they are not included. The installation of the all dependencies is strongly suggested if you want to have a visual feedback of how much your estimation is good.
For installing the dependencies you can decide to install them individually or to use the robotology-superbuild with the ROBOTOLOGY_ENABLE_DYNAMICS
option that automatically is in charge of installing all the dependencies you need (except for the optional ones). Keep in mind that the robotology-superbuild
is surely the fastest way to install them but it contains many more things than you need!
- CMake: an open-source, cross-platform family of tools designed to build, test and package software.
- YCM: a CMake project whose only goal is to download and build several other projects.
- YARP: a library and toolkit for communication and device interfaces.
- icub-main: a library for the interaction with the iCub robot.
- iDynTree: a library of robots dynamics algorithms for control, estimation and simulation.
- Wearables: a library for communication and interfaces with wearable sensors.
- Eigen (3.3 or later): a C++ template library for linear algebra.
- IPOPT: a software package for large-scale nonlinear optimization.
- ROS with rviz package: an open-source provider of libraries and tools for creating robot applications.
After installing all the dependencies, you can install the HDE project:
git clone https://github.com/robotology-playground/human-dynamics-estimation.git
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/your/installation/folder -G "name-of-your-cmake-generator" ..
where the name-of-your-cmake-generator
is your project generator, see Cmake-Generators. For example, on macOS you may choose Xcode
, or on Unix Unix Makefiles
.
Then, for compiling
cmake --build . --config Release
and installing
cmake --build . --config Release --target install
The code contained in this repository can serve different application. Depending on the type of application, a different set of hardware and sensors are required. In addiction, since the applications are based on wearables devices, a certain number of wearable devices should be running providing the source sensor data. The main applications are the following
Application | hardware | werable device |
---|---|---|
Inverse Kinematics | kinematic sensors | XsensSuit |
Dynamics Estimation | kinematic sensors FTshoes |
XsensSuit FTshoes |
Human-Robot Interaction | kinematic sensors FTsensors FTshoes |
XsensSuit FTshoes robot |
Whole-Body Retargeting | kinematic sensors robot |
XsensSuit |
Documentation for running each specific application can be found at the following links:
- Inverse Kinematics
- Dynamics Estimation
- Human-Robot Interaction
- Whole-Body Retargeting
Accordingly to what presented in previous section, each application will require a proper set of wearable device sources running.
Documentation for running the wearable data source can be found in wearables
at the following links:
Please cite the following publications if you are using the code contained in this repository for your own research and/or experiments:
Towards Real-time Whole-Body Human Dynamics Estimation through Probabilistic Sensor Fusion Algorithms.
A Physical Human–Robot Interaction Case Study.
Latella, C.; Lorenzini, M.; Lazzaroni, M.; Romano, F.; Traversaro, S.; Akhras, M.A.; Pucci, D.; Nori, F.
Autonomous Robots, Springer US, October 2018, doi:
10.1007/s10514-018-9808-4
https://doi.org/10.1007/s10514-018-9808-4
The bibtex code for including this citation is provided:
@Article{Latella2018,
author="Latella, Claudia and Lorenzini, Marta and Lazzaroni, Maria and Romano, Francesco and Traversaro, Silvio and Akhras, M. Ali and Pucci, Daniele and Nori, Francesco",
title="Towards real-time whole-body human dynamics estimation through probabilistic sensor fusion algorithms",
journal="Autonomous Robots",
year="2018",
month="Oct",
day="31",
issn="1573-7527",
doi="10.1007/s10514-018-9808-4",
url="https://doi.org/10.1007/s10514-018-9808-4"
}
The CoDyCo Project achievements and beyond: Towards Human Aware Whole-body Controllers for Physical Human Robot Interaction
Francesco Romano, Gabriele Nava, Morteza Azad, Jernej Camernik, Stefano Dafarra, Oriane Dermy, Claudia Latella, Maria Lazzaroni, Ryan Lober, Marta Lorenzini, Daniele Pucci, Olivier Sigaud, Silvio Traversaro, Jan Babic, Serena Ivaldi, Michael Mistry, Vincent Padois, Francesco Nori
IEEE Robotics and Automation Letters
DOI: 10.1109/LRA.2017.2768126
http://ieeexplore.ieee.org/document/8093992
The bibtex code for including this citation is provided:
@article{romano2017codyco,
title={The CoDyCo Project achievements and beyond: Towards Human Aware Whole-body Controllers for Physical Human Robot Interaction},
author={Romano, Francesco and Nava, Gabriele and Azad, Morteza and Camernik, Jernej and Dafarra, Stefano and Dermy, Oriane and Latella, Claudia and Lazzaroni, Maria and Lober, Ryan and Lorenzini, Marta and others},
year={2017},
DOI={10.1109/LRA.2017.2768126},
publisher={IEEE},
journal={IEEE Robotics and Automation Letters},
url={http://ieeexplore.ieee.org/document/8093992},
}
The development of HDE is supported by the FP7 EU projects CoDyCo (No. 600716 ICT 2011.2.1 Cognitive Systems and Robotics) and by H2020 EU projects An.Dy (No. 731540 H2020-ICT-2016-1). The development is also supported by the Istituto Italiano di Tecnologia.