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(