15 #ifndef NAV2_BEHAVIOR_TREE__PLUGINS__ACTION__CONCATENATE_PATHS_ACTION_HPP_
16 #define NAV2_BEHAVIOR_TREE__PLUGINS__ACTION__CONCATENATE_PATHS_ACTION_HPP_
22 #include "nav_msgs/msg/path.hpp"
23 #include "geometry_msgs/msg/pose_stamped.hpp"
24 #include "nav2_util/geometry_utils.hpp"
26 #include "behaviortree_cpp/action_node.h"
28 namespace nav2_behavior_tree
48 const std::string & xml_tag_name,
49 const BT::NodeConfiguration & conf);
58 BT::InputPort<nav_msgs::msg::Path>(
"input_path1",
"Input Path 1 to cancatenate"),
59 BT::InputPort<nav_msgs::msg::Path>(
"input_path2",
"Input Path 2 to cancatenate"),
60 BT::OutputPort<nav_msgs::msg::Path>(
"output_path",
"Paths concatenated"),
68 void halt()
override {}
74 BT::NodeStatus tick()
override;
A BT::ActionNodeBase to shorten path by some distance.
static BT::PortsList providedPorts()
Creates list of BT ports.
ConcatenatePaths(const std::string &xml_tag_name, const BT::NodeConfiguration &conf)
A nav2_behavior_tree::ConcatenatePaths constructor.