Skip to content

Commit

Permalink
Remvoed ROS1 device publisher and example device
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Dafarra committed Jan 13, 2025
1 parent ccce521 commit a81da33
Show file tree
Hide file tree
Showing 17 changed files with 3 additions and 888 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All notable changes to this project are documented in this file.
### Added
### Changed
- Some improvements on the YarpRobotLoggerDevice (https://github.com/ami-iit/bipedal-locomotion-framework/pull/910)
- Removed ROS1 device publisher and the corresponding example (https://github.com/ami-iit/bipedal-locomotion-framework/pull/910)
### Fixed

## [0.20.0] - 2024-12-16
Expand Down
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ option(BUILD_SHARED_LIBS "Build libraries as shared as opposed to static" ON)
option(BUILD_TESTING "Create tests using CMake" OFF)
include(CTest)

option(BUILD_DEVICE_EXAMPLES "Create example devices using CMake" OFF)

# Check BipedalLocomotionFramework dependencies, find necessary libraries.
include(BipedalLocomotionFrameworkDependencies)

Expand Down
5 changes: 0 additions & 5 deletions cmake/AddBipedalLocomotionYARPDevice.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
# This software may be modified and distributed under the terms of the
# BSD-3-Clause license.

framework_dependent_option(FRAMEWORK_COMPILE_example_devices
"Compile example devices?" ON
"BUILD_DEVICE_EXAMPLES" OFF)


function(add_bipedal_yarp_device)
set(options )
set(oneValueArgs NAME)
Expand Down
4 changes: 0 additions & 4 deletions cmake/BipedalLocomotionFrameworkDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@ framework_dependent_option(FRAMEWORK_COMPILE_YarpUtilities
"Compile YarpHelper library?" ON
"FRAMEWORK_USE_YARP" OFF)

framework_dependent_option(FRAMEWORK_COMPILE_Ros1Publisher
"Compile YarpUtilities::RosPublisher class?" ON
"FRAMEWORK_USE_YARP" OFF)

framework_dependent_option(FRAMEWORK_COMPILE_RosImplementation
"Compile All the ROS implementations?" ON
"FRAMEWORK_USE_rclcpp" OFF)
Expand Down
5 changes: 0 additions & 5 deletions devices/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,3 @@ add_subdirectory(JointTorqueControlDevice)
add_subdirectory(RobotDynamicsEstimatorDevice)
add_subdirectory(YarpRobotLoggerDevice)
add_subdirectory(VectorsCollectionWrapper)

if (FRAMEWORK_COMPILE_example_devices)
add_subdirectory(examples)
endif()

6 changes: 0 additions & 6 deletions devices/examples/CMakeLists.txt

This file was deleted.

15 changes: 0 additions & 15 deletions devices/examples/ROSPublisherTestDevice/CMakeLists.txt

This file was deleted.

28 changes: 0 additions & 28 deletions devices/examples/ROSPublisherTestDevice/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions devices/examples/ROSPublisherTestDevice/app/CMakeLists.txt

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

11 changes: 2 additions & 9 deletions src/YarpUtilities/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,10 @@
# set target name
if(FRAMEWORK_COMPILE_YarpUtilities)

set(YarpUtilities_Ros1Publisher_PUBLIC_HEADERS "")
set(YarpUtilities_Ros1Publisher_SOURCES "")
if(FRAMEWORK_COMPILE_Ros1Publisher)
list(APPEND YarpUtilities_Ros1Publisher_PUBLIC_HEADERS "include/BipedalLocomotion/YarpUtilities/RosPublisher.h")
list(APPEND YarpUtilities_Ros1Publisher_SOURCES "src/RosPublisher.cpp")
endif()

add_bipedal_locomotion_library(
NAME YarpUtilities
SOURCES src/Helper.cpp ${YarpUtilities_Ros1Publisher_SOURCES}
PUBLIC_HEADERS include/BipedalLocomotion/YarpUtilities/Helper.h include/BipedalLocomotion/YarpUtilities/Helper.tpp ${YarpUtilities_Ros1Publisher_PUBLIC_HEADERS}
SOURCES src/Helper.cpp
PUBLIC_HEADERS include/BipedalLocomotion/YarpUtilities/Helper.h include/BipedalLocomotion/YarpUtilities/Helper.tpp
PUBLIC_LINK_LIBRARIES ${YARP_LIBRARIES} ${iDynTree_LIBRARIES} BipedalLocomotion::GenericContainer BipedalLocomotion::ParametersHandler BipedalLocomotion::TextLogging
SUBDIRECTORIES tests)

Expand Down
Loading

0 comments on commit a81da33

Please sign in to comment.