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"
25 #include "nav2_ros_common/lifecycle_node.hpp"
27 namespace nav2_behavior_tree
42 const std::string & xml_tag_name,
43 const BT::NodeConfiguration & conf);
52 BT::InputPort<nav_msgs::msg::Path>(
"input_path1",
"Input Path 1 to cancatenate"),
53 BT::InputPort<nav_msgs::msg::Path>(
"input_path2",
"Input Path 2 to cancatenate"),
54 BT::OutputPort<nav_msgs::msg::Path>(
"output_path",
"Paths concatenated"),
62 void halt()
override {}
68 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.