65 if (long_callback_thread_.joinable())
67 long_callback_thread_.join();
76 return node_->get_node_base_interface();
80 std::shared_ptr<rclcpp::Node> node_;
82 std::string planner_plugin_name_;
85 std::unique_ptr<pluginlib::ClassLoader<GlobalPlannerInterface>> global_planner_plugin_loader_;
88 std::shared_ptr<GlobalPlannerInterface> global_planner_instance_;
91 rclcpp_action::Server<moveit_msgs::action::GlobalPlanner>::SharedPtr global_planning_request_server_;
94 rclcpp::Publisher<moveit_msgs::msg::MotionPlanResponse>::SharedPtr global_trajectory_pub_;
97 void globalPlanningRequestCallback(
98 const std::shared_ptr<rclcpp_action::ServerGoalHandle<moveit_msgs::action::GlobalPlanner>>& goal_handle);
101 bool initializeGlobalPlanner();
104 std::thread long_callback_thread_;
107 rclcpp::CallbackGroup::SharedPtr cb_group_;