diff --git a/nav2_lifecycle_manager/src/lifecycle_manager.cpp b/nav2_lifecycle_manager/src/lifecycle_manager.cpp index 8ed7079213feb92177fcd4ea457ef5672e55b176..e4ce91979d5055a47b115b6ded5e5c05e3365f9f 100644 --- a/nav2_lifecycle_manager/src/lifecycle_manager.cpp +++ b/nav2_lifecycle_manager/src/lifecycle_manager.cpp @@ -172,62 +172,62 @@ LifecycleManager::shutdownAllNodes() bool LifecycleManager::startup() { - message("Starting the system bringup..."); + message("Starting managed nodes bringup..."); if (!changeStateForAllNodes(Transition::TRANSITION_CONFIGURE) || !changeStateForAllNodes(Transition::TRANSITION_ACTIVATE)) { RCLCPP_ERROR(get_logger(), "Failed to bring up nodes: aborting bringup"); return false; } - message("The system is active"); + message("Managed nodes are active"); return true; } bool LifecycleManager::shutdown() { - message("Shutting down the system..."); + message("Shutting down managed nodes..."); shutdownAllNodes(); destroyLifecycleServiceClients(); - message("The system has been sucessfully shut down"); + message("Managed nodes have been shut down"); return true; } bool LifecycleManager::reset() { - message("Resetting the system..."); + message("Resetting managed nodes..."); if (!changeStateForAllNodes(Transition::TRANSITION_DEACTIVATE) || !changeStateForAllNodes(Transition::TRANSITION_CLEANUP)) { RCLCPP_ERROR(get_logger(), "Failed to reset nodes: aborting reset"); return false; } - message("The system is reset"); + message("Managed nodes have been reset"); return true; } bool LifecycleManager::pause() { - message("Pausing the system..."); + message("Pausing managed nodes..."); if (!changeStateForAllNodes(Transition::TRANSITION_DEACTIVATE)) { RCLCPP_ERROR(get_logger(), "Failed to pause nodes: aborting pause"); return false; } - message("The system is paused"); + message("Managed nodes have been paused"); return true; } bool LifecycleManager::resume() { - message("Resuming the system..."); + message("Resuming managed nodes..."); if (!changeStateForAllNodes(Transition::TRANSITION_ACTIVATE)) { RCLCPP_ERROR(get_logger(), "Failed to resume nodes: aborting resume"); return false; } - message("The system is active"); + message("Managed nodes are active"); return true; }