Skip to content

Commit

Permalink
Merge branch 'main' into pr-add_param_api_unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
sjahr authored Feb 7, 2024
2 parents c09ccf7 + ea98e73 commit 574a5ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moveit_py/src/moveit/moveit_ros/moveit_cpp/moveit_cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<const char*> chars;
chars.reserve(launch_arguments.size());
for (const auto& arg : launch_arguments)
Expand All @@ -96,6 +95,7 @@ void initMoveitPy(py::module& m)
}

rclcpp::init(launch_arguments.size(), chars.data());
RCLCPP_INFO(getLogger(), "Initialize rclcpp");
}

// Build NodeOptions
Expand Down

0 comments on commit 574a5ca

Please sign in to comment.