Skip to content

Commit 61ae102

Browse files
author
Michael Jeronimo
committed
Make CanTransform a ConditionNode
1 parent 07d981c commit 61ae102

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ros2_behavior_tree/include/ros2_behavior_tree/can_transform_node.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include <string>
1919
#include <memory>
2020

21-
#include "behaviortree_cpp_v3/action_node.h"
21+
#include "behaviortree_cpp_v3/condition_node.h"
2222
#include "geometry_msgs/msg/pose_stamped.hpp"
2323
#include "rclcpp/rclcpp.hpp"
2424
#include "tf2_geometry_msgs/tf2_geometry_msgs.h"
@@ -27,11 +27,11 @@
2727
namespace ros2_behavior_tree
2828
{
2929

30-
class CanTransformNode : public BT::SyncActionNode
30+
class CanTransformNode : public BT::ConditionNode
3131
{
3232
public:
3333
CanTransformNode(const std::string & name, const BT::NodeConfiguration & config)
34-
: BT::SyncActionNode(name, config)
34+
: BT::ConditionNode(name, config)
3535
{
3636
}
3737

0 commit comments

Comments
 (0)