From 23d47a97e629eac9b1f8b4080dc2c670af0b503c Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Thu, 28 Nov 2024 14:29:49 +0100 Subject: [PATCH] Deprecate ROS 1-based software and add HUMANSTATEPROVIDER_ENABLE_ROS1VISUALIZER option to disable compilation of it --- CMakeLists.txt | 7 ++++++- README.md | 3 +-- msgs/CMakeLists.txt | 5 ++++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fb8a0a33..b0464a34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,6 +21,7 @@ endif() include(GNUInstallDirs) include(CTest) +option(HUMANSTATEPROVIDER_ENABLE_ROS1VISUALIZER "Enable the ROS 1-based RViz Human State Visualizer" OFF) option(HUMANSTATEPROVIDER_ENABLE_VISUALIZER "Enable the iDyntree-irricht based Human State Visualizer" OFF) find_package(robometry QUIET) @@ -129,7 +130,11 @@ add_subdirectory(app) add_subdirectory(modules) add_subdirectory(servers) add_subdirectory(clients) -add_subdirectory(publishers) + +if(HUMANSTATEPROVIDER_ENABLE_ROS1VISUALIZER) + add_subdirectory(publishers) +endif() + add_subdirectory(bindings) add_subdirectory(HumanDynamicsEstimationLibrary) diff --git a/README.md b/README.md index 443a4502..7a053e46 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Human Dynamics Estimation (HDE) -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. +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. The devices can be installed and run in Linux, macOS and Windows. > !NOTE > Since September 2024 (release 4.0.0) the human-dynamics-estimation repo contains the software that used to be part of the https://github.com/robotology/wearables repository. @@ -43,7 +43,6 @@ For installing the dependencies you can decide to install them individually or t - [**IPOPT**](http://wiki.icub.org/wiki/Installing_IPOPT): a software package for large-scale nonlinear optimization. #### Optional dependencies -- [**ROS**](http://wiki.ros.org) with [**rviz**](http://wiki.ros.org/rviz) package: an open-source provider of libraries and tools for creating robot applications. - [**irrlicht**](http://irrlicht.sourceforge.net/) and [**iDynTree**](https://github.com/robotology/idyntree) compiled with `IDYNTREE_USES_IRRLICHT` enabled: visualizer for floating-base rigid-body systems. - [**Robometry**](https://github.com/robotology/robometry) : a telemetry suite for logging data. - [**pybind11**](https://github.com/pybind/pybind11): if present, the user can enable `HDE_COMPILE_PYTHON_BINDINGS` to enable the compilation of the python bindings. diff --git a/msgs/CMakeLists.txt b/msgs/CMakeLists.txt index 98afe2b5..bbd06d7f 100644 --- a/msgs/CMakeLists.txt +++ b/msgs/CMakeLists.txt @@ -142,4 +142,7 @@ install(TARGETS XsensSuitControl LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) add_subdirectory(yarp) -add_subdirectory(ros) + +if(HUMANSTATEPROVIDER_ENABLE_ROS1VISUALIZER) + add_subdirectory(ros) +endif()