From ea98e73cf4e636569b74363f32cd390327b1db46 Mon Sep 17 00:00:00 2001 From: peterdavidfagan Date: Tue, 30 Jan 2024 12:04:30 +0000 Subject: [PATCH] log after rclcpp init --- moveit_py/src/moveit/moveit_ros/moveit_cpp/moveit_cpp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moveit_py/src/moveit/moveit_ros/moveit_cpp/moveit_cpp.cpp b/moveit_py/src/moveit/moveit_ros/moveit_cpp/moveit_cpp.cpp index eaf8eee2fa..8f9dbe9019 100644 --- a/moveit_py/src/moveit/moveit_ros/moveit_cpp/moveit_cpp.cpp +++ b/moveit_py/src/moveit/moveit_ros/moveit_cpp/moveit_cpp.cpp @@ -87,7 +87,6 @@ void initMoveitPy(py::module& m) // Initialize ROS, pass launch arguments with rclcpp::init() if (!rclcpp::ok()) { - RCLCPP_INFO(getLogger(), "Initialize rclcpp"); std::vector chars; chars.reserve(launch_arguments.size()); for (const auto& arg : launch_arguments) @@ -96,6 +95,7 @@ void initMoveitPy(py::module& m) } rclcpp::init(launch_arguments.size(), chars.data()); + RCLCPP_INFO(getLogger(), "Initialize rclcpp"); } // Build NodeOptions