Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2e9dccf

Browse files
fix issue BehaviorTree#230
1 parent 63d9709 commit 2e9dccf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/behaviortree_cpp_v3/controls/parallel_node.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class ParallelNode : public ControlNode
3131

3232
static PortsList providedPorts()
3333
{
34-
return { InputPort<unsigned>(THRESHOLD_SUCCESS),
35-
InputPort<unsigned>(THRESHOLD_FAILURE) };
34+
return { InputPort<unsigned>(THRESHOLD_SUCCESS, "number of childen which need to succeed to trigger a SUCCESS )),
35+
InputPort<unsigned>(THRESHOLD_FAILURE, 1, "number of childen which need to fail to trigger a FAILURE ) };
3636
}
3737

3838
~ParallelNode() = default;

0 commit comments

Comments
 (0)