From 898d3c61da675a8491e07886fc3cf99e19ee24bc Mon Sep 17 00:00:00 2001 From: Sai Kishor Kothakota Date: Fri, 30 Aug 2024 17:53:26 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Bence Magyar --- controller_manager/src/controller_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller_manager/src/controller_manager.cpp b/controller_manager/src/controller_manager.cpp index 176505167b..7efde8d80e 100644 --- a/controller_manager/src/controller_manager.cpp +++ b/controller_manager/src/controller_manager.cpp @@ -351,7 +351,7 @@ void ControllerManager::init_resource_manager(const std::string & robot_descript hardware_interface::return_type::ERROR) { throw std::runtime_error( - "Failed to set the state of the component : " + component + " to " + state.label()); + "Failed to set the initial state of the component : " + component + " to " + state.label()); } components_to_activate.erase(component); } @@ -381,7 +381,7 @@ void ControllerManager::init_resource_manager(const std::string & robot_descript hardware_interface::return_type::ERROR) { throw std::runtime_error( - "Failed to set the state of the component : " + component + " to " + active_state.label()); + "Failed to set the initial state of the component : " + component + " to " + active_state.label()); } } robot_description_notification_timer_->cancel();