15 #ifndef NAV2_BEHAVIOR_TREE__PLUGINS__CONDITION__GLOBALLY_UPDATED_GOAL_CONDITION_HPP_
16 #define NAV2_BEHAVIOR_TREE__PLUGINS__CONDITION__GLOBALLY_UPDATED_GOAL_CONDITION_HPP_
21 #include "rclcpp/rclcpp.hpp"
23 #include "behaviortree_cpp_v3/condition_node.h"
24 #include "geometry_msgs/msg/pose_stamped.hpp"
27 namespace nav2_behavior_tree
42 const std::string & condition_name,
43 const BT::NodeConfiguration & conf);
51 BT::NodeStatus
tick()
override;
65 rclcpp::Node::SharedPtr node_;
66 geometry_msgs::msg::PoseStamped goal_;
67 std::vector<geometry_msgs::msg::PoseStamped> goals_;
A BT::ConditionNode that returns SUCCESS when goal is updated on the blackboard and FAILURE otherwise...
static BT::PortsList providedPorts()
Creates list of BT ports.
BT::NodeStatus tick() override
The main override required by a BT action.