18 #include "std_msgs/msg/string.hpp"
20 #include "nav2_behavior_tree/plugins/action/back_up_cancel_node.hpp"
22 namespace nav2_behavior_tree
26 const std::string & xml_tag_name,
27 const std::string & action_name,
28 const BT::NodeConfiguration & conf)
35 #include "behaviortree_cpp/bt_factory.h"
36 BT_REGISTER_NODES(factory)
38 BT::NodeBuilder builder =
39 [](
const std::string & name,
const BT::NodeConfiguration & config)
41 return std::make_unique<nav2_behavior_tree::BackUpCancel>(
42 name,
"backup", config);
46 "CancelBackUp", builder);
A nav2_behavior_tree::BtActionNode class that wraps nav2_msgs::action::BackUp.
BackUpCancel(const std::string &xml_tag_name, const std::string &action_name, const BT::NodeConfiguration &conf)
A constructor for nav2_behavior_tree::BackUpAction.
Abstract class representing an action for cancelling BT node.