Skip to content

Commit 870ad2a

Browse files
committed
removed running_count from sequence
1 parent c8c991a commit 870ad2a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/controls/reactive_sequence.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,12 @@
1313
#include "behaviortree_cpp/controls/reactive_sequence.h"
1414
#include <thread> // *TODO* REMOVE AFTER DEBUG
1515

16-
using std::chrono::milliseconds;
17-
1816
namespace BT
1917
{
2018

2119
NodeStatus ReactiveSequence::tick()
2220
{
2321
size_t success_count = 0;
24-
size_t running_count = 0;
2522

2623
for (size_t index = 0; index < childrenCount(); index++)
2724
{
@@ -63,7 +60,6 @@ NodeStatus ReactiveSequence::tick()
6360
{
6461
case NodeStatus::RUNNING:
6562
{
66-
running_count++;
6763
haltChildren(index+1);
6864
return NodeStatus::RUNNING;
6965
}

0 commit comments

Comments
 (0)