Skip to content

Commit da856c5

Browse files
Interaction now derived from action base
1 parent 0f9ebb2 commit da856c5

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Diff for: include/behaviortree_cpp/interaction_node.h

+1-4
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,12 @@
66

77
namespace BT
88
{
9-
class InteractionNode : public SyncActionNode
9+
class InteractionNode : public ActionNodeBase
1010
{
1111
public:
1212
InteractionNode(const std::string& name, const NodeConfig& config);
1313
~InteractionNode() override = default;
1414

15-
/// throws if the derived class return RUNNING.
16-
virtual NodeStatus executeTick() override;
17-
1815
virtual NodeType type() const override final
1916
{
2017
return NodeType::INTERACTION;

Diff for: src/interaction_node.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace BT
44
{
55
InteractionNode::InteractionNode(const std::string& name, const NodeConfig& config)
6-
: SyncActionNode(name, config)
6+
: ActionNodeBase(name, config)
77
{}
8+
89
}

0 commit comments

Comments
 (0)