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"
24 #include "behaviortree_cpp/action_node.h"
26 namespace nav2_behavior_tree
41 const std::string & xml_tag_name,
42 const BT::NodeConfiguration & conf);
51 BT::InputPort<nav_msgs::msg::Path>(
"input_path1",
"Input Path 1 to cancatenate"),
52 BT::InputPort<nav_msgs::msg::Path>(
"input_path2",
"Input Path 2 to cancatenate"),
53 BT::OutputPort<nav_msgs::msg::Path>(
"output_path",
"Paths concatenated"),
61 void halt()
override {}
67 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.