We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8c991a commit 870ad2aCopy full SHA for 870ad2a
src/controls/reactive_sequence.cpp
@@ -13,15 +13,12 @@
13
#include "behaviortree_cpp/controls/reactive_sequence.h"
14
#include <thread> // *TODO* REMOVE AFTER DEBUG
15
16
-using std::chrono::milliseconds;
17
-
18
namespace BT
19
{
20
21
NodeStatus ReactiveSequence::tick()
22
23
size_t success_count = 0;
24
- size_t running_count = 0;
25
26
for (size_t index = 0; index < childrenCount(); index++)
27
@@ -63,7 +60,6 @@ NodeStatus ReactiveSequence::tick()
63
60
64
61
case NodeStatus::RUNNING:
65
62
66
- running_count++;
67
haltChildren(index+1);
68
return NodeStatus::RUNNING;
69
}
0 commit comments