15 #ifndef NAV2_BEHAVIOR_TREE__PLUGINS__CONDITION__GOAL_UPDATED_CONDITION_HPP_
16 #define NAV2_BEHAVIOR_TREE__PLUGINS__CONDITION__GOAL_UPDATED_CONDITION_HPP_
21 #include "behaviortree_cpp/condition_node.h"
22 #include "geometry_msgs/msg/pose_stamped.hpp"
23 #include "nav2_behavior_tree/bt_utils.hpp"
25 namespace nav2_behavior_tree
41 const std::string & condition_name,
42 const BT::NodeConfiguration & conf);
50 BT::NodeStatus
tick()
override;
59 BT::InputPort<std::vector<geometry_msgs::msg::PoseStamped>>(
60 "goals",
"Vector of navigation goals"),
61 BT::InputPort<geometry_msgs::msg::PoseStamped>(
62 "goal",
"Navigation goal"),
67 geometry_msgs::msg::PoseStamped goal_;
68 std::vector<geometry_msgs::msg::PoseStamped> goals_;
A BT::ConditionNode that returns SUCCESS when goal is updated on the blackboard and FAILURE otherwise...
BT::NodeStatus tick() override
The main override required by a BT action.
static BT::PortsList providedPorts()
Creates list of BT ports.