├── .github
├── CODEOWNERS
└── ISSUE_TEMPLATE
│ ├── feature_request.md
│ └── bug_report.md
├── devices
├── Paexo
│ ├── conf
│ │ ├── paexo-cmake-config.h.in
│ │ └── paexo-validation-motor-control.sh
│ ├── test-application
│ │ ├── CMakeLists.txt
│ │ └── paexo-test-application.cpp
│ └── CMakeLists.txt
├── IWearRemapper
│ ├── conf
│ │ └── IWearRemapper.ini
│ └── CMakeLists.txt
├── FTShoes
│ ├── src
│ │ └── FTShoes.cpp
│ ├── CMakeLists.txt
│ └── include
│ │ └── FTShoes.h
├── HumanWrenchProvider
│ ├── WrenchFrameTransformers.cpp
│ ├── WrenchFrameTransformers.h
│ ├── CMakeLists.txt
│ └── HumanWrenchProvider.h
├── CMakeLists.txt
├── XsensSuit
│ ├── CMakeLists.txt
│ └── conf
│ │ └── XsensSuit.xml
├── ICub
│ ├── CMakeLists.txt
│ └── conf
│ │ └── ICub.xml
├── IAnalogSensorToIWear
│ ├── CMakeLists.txt
│ └── conf
│ │ └── ianalogsensor_to_iwear.xml
├── HumanControlBoard
│ └── CMakeLists.txt
├── IFrameTransformToIWear
│ ├── CMakeLists.txt
│ └── conf
│ │ └── iframetransform_to_iwear.xml
├── RobotPositionController
│ ├── CMakeLists.txt
│ └── RobotPositionController.h
├── HumanLogger
│ ├── HumanLogger.h
│ └── CMakeLists.txt
├── HumanDynamicsEstimator
│ ├── CMakeLists.txt
│ └── HumanDynamicsEstimator.h
└── HumanStateProvider
│ ├── CMakeLists.txt
│ └── HumanStateProvider.h
├── misc
├── hde_scheme.png
└── humanModel.png
├── impl
├── CMakeLists.txt
└── SensorsImpl
│ └── CMakeLists.txt
├── conf
├── ros
│ ├── package.xml
│ └── launch
│ │ ├── iCubRviz.launch
│ │ ├── iCub3Rviz.launch
│ │ ├── twoHumansRviz.launch
│ │ └── HDERviz.launch
├── xml
│ ├── TransformServer.xml
│ ├── applications
│ │ ├── HumanDynamicsEstimation.xml
│ │ ├── XsensRetargetingPositionControlPoleiCub3.xml
│ │ ├── XsensRetargetingPositionControlPoleiCub2_5.xml
│ │ ├── XsensRetargetingVisualizationiCub3.xml
│ │ ├── XsensRetargetingVisualizationiCub2_5.xml
│ │ ├── HumanDynamicsEstimation-HumanDynamics.xml
│ │ ├── HumanDynamicsEstimation-HumanKinematics.xml
│ │ └── HDERetargeting_iCub2_5_ifeel.xml
│ ├── RobotPosePublisher.xml
│ ├── RobotPositionController_iCub2_5.xml
│ ├── HumanLoggerExample.xml
│ ├── RobotPositionController_iCub.xml
│ └── transformServer_to_iwear.xml
├── app
│ ├── HumanStateVisualizer.ini
│ ├── HumanStateVisualizer_iCub3.ini
│ ├── HumanStateVisualizer_iCub2_5.ini
│ ├── HumanStateVisualizerWithDynamics.ini
│ ├── HumanStateVisualizer_iCub2_5_openxr.ini
│ ├── HumanStateVisualizer_iRonCub_openxr.ini
│ ├── HumanStateVisualizer_ergoCub_openxr.ini
│ ├── HumanStateVisualizer_iRonCub_openxr_ifeel.ini
│ ├── HumanStateVisualizer_iCub3_openxr.ini
│ ├── HumanStateVisualizer_ergoCub_openxr_ifeel.ini
│ ├── HumanStateVisualizer_iCub2_5_openxr_ifeel.ini
│ └── HumanStateVisualizer_iCub3_openxr_ifeel.ini
├── HDE-yarpmanager.ini
├── iFeelOpenXRCalibration.sh
└── CMakeLists.txt
├── HumanDynamicsEstimationLibrary
├── CMakeLists.txt
├── utils
│ └── CMakeLists.txt
└── algorithms
│ └── CMakeLists.txt
├── clients
├── CMakeLists.txt
├── HumanWrench_nwc_yarp
│ ├── conf
│ │ ├── HumanWrenchRemapperExample.xml
│ │ └── HumanWrench_nwc_yarpExample.xml
│ ├── CMakeLists.txt
│ └── HumanWrench_nwc_yarp.h
├── HumanDynamics_nwc_yarp
│ ├── conf
│ │ └── HumanDynamics_nwc_yarpExample.xml
│ ├── CMakeLists.txt
│ └── HumanDynamics_nwc_yarp.h
├── HumanState_nwc_yarp
│ ├── CMakeLists.txt
│ └── HumanState_nwc_yarp.h
└── WearableTargets_nwc_yarp
│ ├── CMakeLists.txt
│ └── WearableTargets_nwc_yarp.h
├── servers
├── CMakeLists.txt
├── HumanState_nws_yarp
│ ├── CMakeLists.txt
│ └── HumanState_nws_yarp.h
├── HumanWrench_nws_yarp
│ ├── CMakeLists.txt
│ └── HumanWrench_nws_yarp.h
├── HumanDynamics_nws_yarp
│ ├── CMakeLists.txt
│ └── HumanDynamics_nws_yarp.h
└── WearableTargets_nws_yarp
│ ├── CMakeLists.txt
│ └── WearableTargets_nws_yarp.h
├── .gitignore
├── doc
├── README.md
├── How-to-run-FTshoes.md
└── How-to-run-iCub-as-wearable-source.md
├── modules
├── CMakeLists.txt
├── IWearFrameVisualizer
│ └── CMakeLists.txt
└── HumanStateVisualizer
│ └── CMakeLists.txt
├── wrappers
├── CMakeLists.txt
├── IWear
│ ├── CMakeLists.txt
│ └── include
│ │ └── IWearWrapper.h
├── IWearActuators
│ ├── CMakeLists.txt
│ └── include
│ │ └── IWearActuatorsWrapper.h
├── IWearLogger
│ ├── CMakeLists.txt
│ └── include
│ │ └── IWearLogger.h
└── IXsensMVNControl
│ ├── CMakeLists.txt
│ └── include
│ └── IXsensMVNControlWrapper.h
├── interfaces
├── CMakeLists.txt
├── IXsensMVNControl
│ ├── CMakeLists.txt
│ └── IXsensMVNControl.h
├── IHumanState
│ ├── CMakeLists.txt
│ └── hde
│ │ └── interfaces
│ │ └── IHumanState.h
├── IHumanWrench
│ ├── CMakeLists.txt
│ └── hde
│ │ └── interfaces
│ │ └── IHumanWrench.h
├── IHumanDynamics
│ ├── CMakeLists.txt
│ └── hde
│ │ └── interfaces
│ │ └── IHumanDynamics.h
├── IWear
│ ├── include
│ │ └── Wearable
│ │ │ └── IWear
│ │ │ ├── Common.h
│ │ │ ├── Actuators
│ │ │ ├── IHeater.h
│ │ │ ├── IMotor.h
│ │ │ ├── IHaptic.h
│ │ │ └── IActuator.h
│ │ │ └── Sensors
│ │ │ ├── IGyroscope.h
│ │ │ ├── IMagnetometer.h
│ │ │ ├── IForce3DSensor.h
│ │ │ ├── ISkinSensor.h
│ │ │ ├── IAccelerometer.h
│ │ │ ├── IPositionSensor.h
│ │ │ ├── ITorque3DSensor.h
│ │ │ ├── IEmgSensor.h
│ │ │ ├── ITemperatureSensor.h
│ │ │ ├── IFreeBodyAccelerationSensor.h
│ │ │ ├── IVirtualJointKinSensor.h
│ │ │ ├── IVirtualSphericalJointKinSensor.h
│ │ │ ├── IOrientationSensor.h
│ │ │ ├── IForceTorque6DSensor.h
│ │ │ └── IPoseSensor.h
│ └── CMakeLists.txt
└── IWearableTargets
│ └── CMakeLists.txt
├── ci_env.yml
├── XSensMVN
├── test
│ ├── CMakeLists.txt
│ └── testCalibrator.cpp
├── include
│ ├── XSensCalibrationQualities.h
│ ├── XSensMVNDriverStates.h
│ └── XSensLogger.h
└── CMakeLists.txt
├── app
├── CMakeLists.txt
├── Wearables-yarpmanager.ini
└── xml
│ ├── applications
│ ├── HumanDynamicsEstimation-WearableDumper.xml
│ ├── WearableDevices-Dumper.xml
│ └── WearableDevices.xml
│ ├── ICubWearableDevice.xml
│ └── iWearLoggerExampleTemplate.xml
├── msgs
├── thrift
│ └── XsensSuitControlService.thrift
└── CMakeLists.txt
├── cmake
├── AddHDEPythonModule.cmake
├── AddWearablesPythonModule.cmake
├── FindSenseGlove.cmake
├── AddWarningsConfigurationToTarget.cmake
└── FindXsensXME.cmake
└── LICENSE
/.github/CODEOWNERS:
--------------------------------------------------------------------------------
1 | * @traversaro @S-Dafarra @Gianlucamilani @davidegorbani
2 |
--------------------------------------------------------------------------------
/devices/Paexo/conf/paexo-cmake-config.h.in:
--------------------------------------------------------------------------------
1 | #cmakedefine ENABLE_PAEXO_USE_iFEELDriver
2 |
--------------------------------------------------------------------------------
/misc/hde_scheme.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robotology/human-dynamics-estimation/HEAD/misc/hde_scheme.png
--------------------------------------------------------------------------------
/misc/humanModel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robotology/human-dynamics-estimation/HEAD/misc/humanModel.png
--------------------------------------------------------------------------------
/devices/IWearRemapper/conf/IWearRemapper.ini:
--------------------------------------------------------------------------------
1 | iwearPorts ("/iwear/ftShoes:o", "/iwear/xsens:o")
2 | portPrefix /iwearRemapper
3 |
--------------------------------------------------------------------------------
/impl/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | # SPDX-License-Identifier: BSD-3-Clause
3 |
4 |
5 | add_subdirectory(SensorsImpl)
6 |
--------------------------------------------------------------------------------
/conf/ros/package.xml:
--------------------------------------------------------------------------------
1 |
2 | HDERviz
3 |
4 | This is a simple package.xml file for configuring HDE rviz files.
5 |
6 |
7 |
--------------------------------------------------------------------------------
/HumanDynamicsEstimationLibrary/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | # SPDX-License-Identifier: BSD-3-Clause
3 |
4 | # Include AddComponent cmake module
5 | include(AddComponent)
6 |
7 | add_subdirectory(algorithms)
8 | add_subdirectory(utils)
9 |
--------------------------------------------------------------------------------
/clients/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | # SPDX-License-Identifier: BSD-3-Clause
3 |
4 | add_subdirectory(HumanState_nwc_yarp)
5 | add_subdirectory(HumanDynamics_nwc_yarp)
6 | add_subdirectory(HumanWrench_nwc_yarp)
7 | add_subdirectory(WearableTargets_nwc_yarp)
8 |
--------------------------------------------------------------------------------
/servers/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | # SPDX-License-Identifier: BSD-3-Clause
3 |
4 | add_subdirectory(HumanState_nws_yarp)
5 | add_subdirectory(HumanDynamics_nws_yarp)
6 | add_subdirectory(HumanWrench_nws_yarp)
7 | add_subdirectory(WearableTargets_nws_yarp)
8 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.DS_Store
2 | build*
3 | *kdev4
4 | *~
5 | *.txt.user*
6 | *.vscode*
7 | .vs/
8 | build/
9 | build*/
10 | install/
11 | CMakeLists.txt.*
12 | .DS_Store
13 | *.bak
14 | *.orig
15 | *.autosave
16 | *.original
17 | *.*~
18 | .vscode/c_cpp_properties.json
19 | .vscode/settings.json
20 | .vs/*
21 | CMakeSettings.json
22 |
--------------------------------------------------------------------------------
/doc/README.md:
--------------------------------------------------------------------------------
1 | ## Documentation
2 |
3 | Guidelines on how to run and use wearable sensor source devices.
4 |
5 | ### Available documentation
6 |
7 | - [How-to-run-FTshoes](How-to-run-FTshoes.md)
8 |
9 | - [How-to-run-XsensSuit](How-to-run-XsensSuit.md)
10 |
11 | - [How-to-run-HapticGlove](How-to-compile-and-run-HapticGlove.md)
12 |
--------------------------------------------------------------------------------
/modules/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | # SPDX-License-Identifier: BSD-3-Clause
3 |
4 | if(ENABLE_FrameVisualizer)
5 | add_subdirectory(IWearFrameVisualizer)
6 | endif()
7 |
8 | if(HUMANSTATEPROVIDER_ENABLE_VISUALIZER)
9 | add_subdirectory(HumanStateVisualizer)
10 | endif()
11 |
--------------------------------------------------------------------------------
/wrappers/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | # SPDX-License-Identifier: BSD-3-Clause
3 |
4 |
5 | add_subdirectory(IWear)
6 | add_subdirectory(IWearActuators)
7 | add_subdirectory(IXsensMVNControl)
8 |
9 | if(ENABLE_Logger)
10 | add_subdirectory(IWearLogger)
11 | endif()
12 |
13 |
14 |
--------------------------------------------------------------------------------
/interfaces/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | # SPDX-License-Identifier: BSD-3-Clause
3 |
4 | add_subdirectory(IWear)
5 | add_subdirectory(IXsensMVNControl)
6 | add_subdirectory(IHumanState)
7 | add_subdirectory(IHumanWrench)
8 | add_subdirectory(IHumanDynamics)
9 | add_subdirectory(IWearableTargets)
10 |
--------------------------------------------------------------------------------
/ci_env.yml:
--------------------------------------------------------------------------------
1 | name: human-dynamics-estimation
2 | channels:
3 | - conda-forge
4 | - robotology
5 | dependencies:
6 | - cmake
7 | - cxx-compiler
8 | - make
9 | - ninja
10 | - pkg-config
11 | - libyarp
12 | - libicub-main
13 | - idyntree
14 | - libmatio-cpp
15 | - librobometry
16 | - osqp-eigen
17 | - cmake-package-check
18 | - libtrintrin
19 |
--------------------------------------------------------------------------------
/devices/FTShoes/src/FTShoes.cpp:
--------------------------------------------------------------------------------
1 | // SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | // SPDX-License-Identifier: BSD-3-Clause
3 |
4 | #include "FTShoes.h"
5 |
6 | using namespace wear::suit;
7 |
8 | class FTShoes::Impl
9 | {};
10 |
11 | FTShoes::FTShoes()
12 | : pImpl{new Impl()}
13 | {}
14 |
15 | // Without this destructor here, the linker complains for
16 | // undefined reference to vtable
17 | FTShoes::~FTShoes() = default;
18 |
--------------------------------------------------------------------------------
/XSensMVN/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | # SPDX-License-Identifier: BSD-3-Clause
3 |
4 |
5 | # Build the test unit executables
6 | # ===============================
7 | add_executable(testCalibrator ${CMAKE_CURRENT_SOURCE_DIR}/testCalibrator.cpp)
8 | target_link_libraries(testCalibrator XSensMVN)
9 |
10 | add_executable(testDriver ${CMAKE_CURRENT_SOURCE_DIR}/testDriver.cpp)
11 | target_link_libraries(testDriver XSensMVN)
12 |
--------------------------------------------------------------------------------
/clients/HumanWrench_nwc_yarp/conf/HumanWrenchRemapperExample.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | /HDE/HumanWrench_nws_yarp/wrench:o
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/clients/HumanWrench_nwc_yarp/conf/HumanWrench_nwc_yarpExample.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | /HDE/HumanWrench_nws_yarp/wrench:o
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/clients/HumanDynamics_nwc_yarp/conf/HumanDynamics_nwc_yarpExample.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | /HDE/HumanDynamics_nws_yarp/torques:o
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/interfaces/IXsensMVNControl/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | # SPDX-License-Identifier: BSD-3-Clause
3 |
4 |
5 | # Group files with the correct path for the target_sources command
6 | file(GLOB_RECURSE IXSENS_MVN_CONTROL_HEADERS *.h)
7 |
8 | add_library(IXsensMVNControl INTERFACE)
9 | target_sources(IXsensMVNControl INTERFACE ${IXSENS_MVN_CONTROL_HEADERS})
10 | target_include_directories(IXsensMVNControl INTERFACE
11 | $
12 | )
13 |
--------------------------------------------------------------------------------
/conf/xml/TransformServer.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 0.2
7 |
8 | true
9 | false
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/conf/app/HumanStateVisualizer.ini:
--------------------------------------------------------------------------------
1 | name HumanStateVisualizer
2 |
3 | # Model Configuration options
4 | modelURDFName "humanSubject01_66dof.urdf"
5 | ignoreMissingLinks true
6 | visualizeWrenches false
7 |
8 | # Camera options
9 | cameraDeltaPosition (2.0, 0.0, 0.5)
10 | useFixedCamera false # if set to false, the camera follows the model base link
11 | fixedCameraTarget (0.0, 0.0, 0.0) # this option is unused when useFixedCamera is false
12 | maxVisualizationFPS 65
13 |
14 | # Client Configuration
15 | humanStateDataPortName "/HDE/HumanStateServer/state:o"
16 |
--------------------------------------------------------------------------------
/devices/HumanWrenchProvider/WrenchFrameTransformers.cpp:
--------------------------------------------------------------------------------
1 | // SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | // SPDX-License-Identifier: BSD-3-Clause
3 |
4 | #include
5 | #include
6 | #include
7 |
8 | using namespace hde::devices::impl;
9 |
10 | bool IWrenchFrameTransformer::transformWrenchFrame(const iDynTree::Wrench inputWrench,
11 | iDynTree::Wrench& transformedWrench)
12 | {
13 | transformedWrench = transform * inputWrench;
14 | return true;
15 | }
16 |
--------------------------------------------------------------------------------
/conf/app/HumanStateVisualizer_iCub3.ini:
--------------------------------------------------------------------------------
1 | name HumanStateVisualizer
2 |
3 | # Model Configuration options
4 | modelURDFName "teleoperation_iCub_model_V_3.urdf"
5 | ignoreMissingLinks true
6 | visualizeWrenches false
7 |
8 | # Camera options
9 | cameraDeltaPosition (0.0, 2.0, 0.5)
10 | useFixedCamera false # if set to false, the camera follows the model base link
11 | fixedCameraTarget (0.0, 0.0, 0.0) # this option is unused when useFixedCamera is false
12 | maxVisualizationFPS 65
13 |
14 | # Client Configuration
15 | humanStateDataPortName "/iCub/RobotStateServer/state:o"
16 |
--------------------------------------------------------------------------------
/conf/app/HumanStateVisualizer_iCub2_5.ini:
--------------------------------------------------------------------------------
1 | name HumanStateVisualizer
2 |
3 | # Model Configuration options
4 | modelURDFName "teleoperation_iCub_model_V_2_5.urdf"
5 | ignoreMissingLinks true
6 | visualizeWrenches false
7 |
8 | # Camera options
9 | cameraDeltaPosition (0.0, 2.0, 0.5)
10 | useFixedCamera false # if set to false, the camera follows the model base link
11 | fixedCameraTarget (0.0, 0.0, 0.0) # this option is unused when useFixedCamera is false
12 | maxVisualizationFPS 65
13 |
14 | # Client Configuration
15 | humanStateDataPortName "/iCub/RobotStateServer/state:o"
16 |
--------------------------------------------------------------------------------
/conf/ros/launch/iCubRviz.launch:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/devices/Paexo/test-application/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | # SPDX-License-Identifier: BSD-3-Clause
3 |
4 |
5 | cmake_minimum_required(VERSION 3.16)
6 | project(PaexoTestApplication)
7 |
8 | find_package(IWear REQUIRED)
9 | find_package(WearableActuators REQUIRED)
10 | find_package(YARP COMPONENTS os REQUIRED)
11 |
12 | add_executable(${PROJECT_NAME} paexo-test-application.cpp)
13 |
14 | target_link_libraries(${PROJECT_NAME} PUBLIC
15 | IWear::IWear
16 | WearableActuators::WearableActuators
17 | YARP::YARP_os
18 | YARP::YARP_init)
19 |
20 |
21 |
--------------------------------------------------------------------------------
/conf/ros/launch/iCub3Rviz.launch:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Feature request
3 | about: Suggest an idea for this project
4 |
5 | ---
6 |
7 | **Is your feature request related to a problem? Please describe.**
8 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9 |
10 | **Describe the solution you'd like**
11 | A clear and concise description of what you want to happen.
12 |
13 | **Describe alternatives you've considered**
14 | A clear and concise description of any alternative solutions or features you've considered.
15 |
16 | **Additional context**
17 | Add any other context or screenshots about the feature request here.
18 |
--------------------------------------------------------------------------------
/HumanDynamicsEstimationLibrary/utils/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | # SPDX-License-Identifier: BSD-3-Clause
3 |
4 | find_package(OsqpEigen 0.4.0 REQUIRED)
5 | find_package(YARP 3.2 REQUIRED)
6 | find_package(iDynTree REQUIRED)
7 |
8 | add_component(NAME utils
9 | SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/iDynTreeUtils.cpp
10 | PUBLIC_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/include/hde/utils/iDynTreeUtils.hpp
11 | PUBLIC_LINK_LIBRARIES iDynTree::idyntree-core
12 | PRIVATE_LINK_LIBRARIES YARP::YARP_os
13 | Eigen3::Eigen
14 | )
15 |
--------------------------------------------------------------------------------
/devices/Paexo/conf/paexo-validation-motor-control.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # set n to 1
3 | min_motor_pos=30
4 | max_motor_pos=50
5 | step_size=2
6 |
7 | ## Paexo initialization
8 | echo "start" | yarp rpc /wearable/paexo/rpc:i
9 | sleep 0.5
10 | echo "en_bc_data" | yarp rpc /wearable/paexo/rpc:i
11 | sleep 0.5
12 | echo "init:r" | yarp rpc /wearable/paexo/rpc:i
13 |
14 | # Set max position as initial motor position
15 | current_pos=${max_motor_pos}
16 |
17 | # continue until $n equals 5
18 | while [ ${min_motor_pos} -le ${current_pos} ]
19 | do
20 | read -s -n1 key
21 | #sleep 0.1
22 | echo "move:r:${current_pos}" | yarp rpc /wearable/paexo/rpc:i
23 | current_pos=$((current_pos - step_size))
24 | done
25 |
--------------------------------------------------------------------------------
/interfaces/IHumanState/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | # SPDX-License-Identifier: BSD-3-Clause
3 |
4 | add_library(IHumanState INTERFACE)
5 |
6 | target_sources(IHumanState INTERFACE
7 | $
8 | $)
9 |
10 | target_include_directories(IHumanState INTERFACE
11 | $
12 | $)
13 |
14 | install(
15 | FILES hde/interfaces/IHumanState.h
16 | DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/hde/interfaces)
17 |
18 |
--------------------------------------------------------------------------------
/interfaces/IHumanWrench/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | # SPDX-License-Identifier: BSD-3-Clause
3 |
4 | add_library(IHumanWrench INTERFACE)
5 |
6 | target_sources(IHumanWrench INTERFACE
7 | $
8 | $)
9 |
10 | target_include_directories(IHumanWrench INTERFACE
11 | $
12 | $)
13 |
14 | install(
15 | FILES hde/interfaces/IHumanWrench.h
16 | DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/hde/interfaces)
17 |
18 |
--------------------------------------------------------------------------------
/impl/SensorsImpl/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | # SPDX-License-Identifier: BSD-3-Clause
3 |
4 |
5 | add_library(SensorsImpl
6 | SensorsImpl.cpp
7 | include/Wearable/IWear/Sensors/impl/SensorsImpl.h)
8 | add_library(Wearable::SensorsImpl ALIAS SensorsImpl)
9 |
10 | target_include_directories(SensorsImpl PUBLIC
11 | $)
12 |
13 | target_link_libraries(SensorsImpl PUBLIC IWear::IWear)
14 |
15 | install(
16 | TARGETS SensorsImpl
17 | EXPORT SensorsImpl
18 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
19 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
20 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
21 |
--------------------------------------------------------------------------------
/interfaces/IHumanDynamics/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | # SPDX-License-Identifier: BSD-3-Clause
3 |
4 | add_library(IHumanDynamics INTERFACE)
5 |
6 | target_sources(IHumanDynamics INTERFACE
7 | $
8 | $)
9 |
10 | target_include_directories(IHumanDynamics INTERFACE
11 | $
12 | $)
13 |
14 | install(
15 | FILES hde/interfaces/IHumanDynamics.h
16 | DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/hde/interfaces)
17 |
18 |
--------------------------------------------------------------------------------
/XSensMVN/include/XSensCalibrationQualities.h:
--------------------------------------------------------------------------------
1 | // SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
2 | // SPDX-License-Identifier: BSD-3-Clause
3 |
4 | #ifndef XSENS_CALIBRATION_QUALITIES_H
5 | #define XSENS_CALIBRATION_QUALITIES_H
6 |
7 | #include