15 #ifndef NAV2_BEHAVIOR_TREE__PLUGINS__ACTION__EXTRACT_ROUTE_NODES_AS_GOALS_ACTION_HPP_
16 #define NAV2_BEHAVIOR_TREE__PLUGINS__ACTION__EXTRACT_ROUTE_NODES_AS_GOALS_ACTION_HPP_
22 #include "nav_msgs/msg/goals.hpp"
23 #include "nav2_msgs/msg/route.hpp"
24 #include "geometry_msgs/msg/pose_stamped.hpp"
25 #include "nav2_util/geometry_utils.hpp"
26 #include "nav2_util/robot_utils.hpp"
27 #include "behaviortree_cpp/action_node.h"
29 namespace nav2_behavior_tree
36 const std::string & xml_tag_name,
37 const BT::NodeConfiguration & conf);
40 static BT::PortsList providedPorts()
43 BT::InputPort<nav2_msgs::msg::Route>(
"route",
"Route to extract nodes from"),
44 BT::OutputPort<nav_msgs::msg::Goals>(
"goals",
"Output goals for navigation")
49 void halt()
override {}
50 BT::NodeStatus tick()
override;