From 2ffa0e01ca209ba8faaf9d3d24f926472723ce02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dr=2E=20Denis=20=C5=A0togl?= Date: Tue, 16 Jan 2024 15:59:17 +0100 Subject: [PATCH] Make tests to use hardware descritpion in tests to be able to activate controllers. --- controller_manager/test/controller_manager_test_common.hpp | 6 +++++- .../test_controllers_chaining_with_controller_manager.cpp | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/controller_manager/test/controller_manager_test_common.hpp b/controller_manager/test/controller_manager_test_common.hpp index 7bf5cae628..db5b98a5c1 100644 --- a/controller_manager/test/controller_manager_test_common.hpp +++ b/controller_manager/test/controller_manager_test_common.hpp @@ -164,7 +164,11 @@ class TestControllerManagerSrvs : public ControllerManagerFixture { public: - TestControllerManagerSrvs() {} + TestControllerManagerSrvs() + : ControllerManagerFixture( + ros2_control_test_assets::minimal_robot_urdf, true) + { + } void SetUp() override { diff --git a/controller_manager/test/test_controllers_chaining_with_controller_manager.cpp b/controller_manager/test/test_controllers_chaining_with_controller_manager.cpp index a34d70ada7..4ff5d6fe2c 100644 --- a/controller_manager/test/test_controllers_chaining_with_controller_manager.cpp +++ b/controller_manager/test/test_controllers_chaining_with_controller_manager.cpp @@ -106,6 +106,12 @@ class TestControllerChainingWithControllerManager public testing::WithParamInterface { public: + TestControllerChainingWithControllerManager() + : ControllerManagerFixture( + ros2_control_test_assets::minimal_robot_urdf, true) + { + } + void SetUp() { executor_ = std::make_shared();