From 6291effd061a9b7e983034d86deb5756f79043b7 Mon Sep 17 00:00:00 2001 From: Sai Kishor Kothakota Date: Fri, 5 Jan 2024 14:55:59 +0100 Subject: [PATCH] Init srvs in resource manager if URDF is loaded --- controller_manager/src/controller_manager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/controller_manager/src/controller_manager.cpp b/controller_manager/src/controller_manager.cpp index fc3503d5bb0..200f84a27bc 100644 --- a/controller_manager/src/controller_manager.cpp +++ b/controller_manager/src/controller_manager.cpp @@ -310,6 +310,10 @@ ControllerManager::ControllerManager( { subscribe_to_robot_description_topic(); } + else + { + init_services(); + } } void ControllerManager::subscribe_to_robot_description_topic()