15 #ifndef NAV2_BEHAVIOR_TREE__PLUGINS__CONDITION__TRANSFORM_AVAILABLE_CONDITION_HPP_
16 #define NAV2_BEHAVIOR_TREE__PLUGINS__CONDITION__TRANSFORM_AVAILABLE_CONDITION_HPP_
22 #include "nav2_ros_common/lifecycle_node.hpp"
23 #include "behaviortree_cpp/condition_node.h"
24 #include "nav2_ros_common/tf2_factories.hpp"
26 namespace nav2_behavior_tree
48 const std::string & condition_name,
49 const BT::NodeConfiguration & conf);
62 BT::NodeStatus
tick()
override;
76 BT::InputPort<std::string>(
"child",
"",
"Child frame for transform"),
77 BT::InputPort<std::string>(
"parent",
"",
"parent frame for transform")
82 nav2::LifecycleNode::SharedPtr node_;
83 nav2::TransformBuffer::SharedPtr tf_;
85 std::atomic<bool> was_found_;
87 std::string child_frame_;
88 std::string parent_frame_;