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

Skip to content

Commit 8b32ed7

Browse files
committed
Fix documentation (noted in issue BehaviorTree#116)
1 parent cb65991 commit 8b32ed7

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

docs/tutorial_04_sequence_star.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,11 @@ would be _interrupted_ (_halted_, to be specific).
156156
<BehaviorTree>
157157
<ReactiveSequence>
158158
<BatteryOK/>
159-
<SaySomething message="mission started..." />
160-
<MoveBase goal="1;2;3"/>
161-
<SaySomething message="mission completed!" />
159+
<Sequence>
160+
<SaySomething message="mission started..." />
161+
<MoveBase goal="1;2;3"/>
162+
<SaySomething message="mission completed!" />
163+
</Sequence>
162164
</ReactiveSequence>
163165
</BehaviorTree>
164166
</root>

include/behaviortree_cpp_v3/bt_factory.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ struct Tree
156156

157157
void haltTree()
158158
{
159-
// the halt should propagate to all the node if all the nodes
160-
// are implemented correctly
159+
// the halt should propagate to all the node if the nodes
160+
// have been implemented correctly
161161
root_node->halt();
162162
root_node->setStatus(NodeStatus::IDLE);
163163

0 commit comments

Comments
 (0)