Skip to content

Commit 9dbfeaf

Browse files
committed
file renamed and documentation fixed
1 parent bd6e227 commit 9dbfeaf

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
File renamed without changes.

examples/t04_reactive_sequence.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ using namespace BT;
77

88
/** This tutorial will teach you:
99
*
10-
* - The difference between Sequence and SequenceStar
10+
* - The difference between Sequence and ReactiveSequence
1111
*
1212
* - How to create an asynchronous ActionNode (an action that is execute in
1313
* its own thread).
@@ -111,14 +111,11 @@ Robot says: "mission started..."
111111
[ MoveBase: STARTED ]. goal: x=1 y=2.0 theta=3.00
112112
113113
--- 2nd executeTick() ---
114-
[ Battery: OK ]
115114
[ MoveBase: FINISHED ]
116115
117116
--- 3rd executeTick() ---
118-
[ Battery: OK ]
119117
Robot says: "mission completed!"
120118
121-
122119
------------ BUILDING A NEW TREE ------------
123120
124121
--- 1st executeTick() ---
@@ -127,9 +124,11 @@ Robot says: "mission started..."
127124
[ MoveBase: STARTED ]. goal: x=1 y=2.0 theta=3.00
128125
129126
--- 2nd executeTick() ---
127+
[ Battery: OK ]
130128
[ MoveBase: FINISHED ]
131129
132130
--- 3rd executeTick() ---
131+
[ Battery: OK ]
133132
Robot says: "mission completed!"
134133
135134
*/

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ nav:
4545
- "Tutorial 1: Create a Tree": tutorial_01_first_tree.md
4646
- "Tutorial 2: Basic Ports": tutorial_02_basic_ports.md
4747
- "Tutorial 3: Generic ports": tutorial_03_generic_ports.md
48-
- "Tutorial 4: Sequences": tutorial_04_sequence_star.md
48+
- "Tutorial 4: Sequences": tutorial_04_sequence.md
4949
- "Tutorial 5: Subtrees and Loggers": tutorial_05_subtrees.md
5050
- "Tutorial 6: Ports remapping": tutorial_06_subtree_ports.md
5151
- "Tutorial 7: Wrap legacy code": tutorial_07_legacy.md

src/bt_factory.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ BehaviorTreeFactory::BehaviorTreeFactory()
3333
registerNodeType<WhileDoElseNode>("WhileDoElse");
3434

3535
registerNodeType<InverterNode>("Inverter");
36-
registerNodeType<RetryNode>("RetryUntilSuccesful");
36+
registerNodeType<RetryNodeTypo>("RetryUntilSuccesful"); //typo but back compatibility
37+
registerNodeType<RetryNode>("RetryUntilSuccessful"); // correct one
3738
registerNodeType<KeepRunningUntilFailureNode>("KeepRunningUntilFailure");
3839
registerNodeType<RepeatNode>("Repeat");
3940
registerNodeType<TimeoutNode<>>("Timeout");

0 commit comments

Comments
 (0)