From e9f37ad6c826378fa1bf20d522b61ae1ef87da87 Mon Sep 17 00:00:00 2001 From: Sai Kishor Kothakota Date: Sun, 10 Nov 2024 01:33:54 +0100 Subject: [PATCH] Fix the API of the tests and the CMakeLists.txt --- controller_manager/CMakeLists.txt | 1 - controller_manager/test/test_hardware_spawner.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/controller_manager/CMakeLists.txt b/controller_manager/CMakeLists.txt index e500da0294..0ac0fdf2ef 100644 --- a/controller_manager/CMakeLists.txt +++ b/controller_manager/CMakeLists.txt @@ -181,7 +181,6 @@ if(BUILD_TESTING) ) target_link_libraries(test_hardware_spawner controller_manager - ros2_control_test_assets::ros2_control_test_assets ) install(FILES test/test_controller_spawner_with_type.yaml diff --git a/controller_manager/test/test_hardware_spawner.cpp b/controller_manager/test/test_hardware_spawner.cpp index 6fd1269fa9..b9f3027602 100644 --- a/controller_manager/test/test_hardware_spawner.cpp +++ b/controller_manager/test/test_hardware_spawner.cpp @@ -232,7 +232,7 @@ class TestHardwareSpawnerWithNamespacedCM public: TestHardwareSpawnerWithNamespacedCM() : ControllerManagerFixture( - ros2_control_test_assets::minimal_robot_urdf, "foo_namespace"), + ros2_control_test_assets::minimal_robot_urdf, false, "foo_namespace"), RMServiceCaller("foo_namespace/" + std::string(TEST_CM_NAME)) { cm_->set_parameter(