Skip to content

Commit

Permalink
file renamed and documentation fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
facontidavide committed Jul 11, 2021
1 parent bd6e227 commit 9dbfeaf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
File renamed without changes.
7 changes: 3 additions & 4 deletions examples/t04_reactive_sequence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ using namespace BT;

/** This tutorial will teach you:
*
* - The difference between Sequence and SequenceStar
* - The difference between Sequence and ReactiveSequence
*
* - How to create an asynchronous ActionNode (an action that is execute in
* its own thread).
Expand Down Expand Up @@ -111,14 +111,11 @@ Robot says: "mission started..."
[ MoveBase: STARTED ]. goal: x=1 y=2.0 theta=3.00
--- 2nd executeTick() ---
[ Battery: OK ]
[ MoveBase: FINISHED ]
--- 3rd executeTick() ---
[ Battery: OK ]
Robot says: "mission completed!"
------------ BUILDING A NEW TREE ------------
--- 1st executeTick() ---
Expand All @@ -127,9 +124,11 @@ Robot says: "mission started..."
[ MoveBase: STARTED ]. goal: x=1 y=2.0 theta=3.00
--- 2nd executeTick() ---
[ Battery: OK ]
[ MoveBase: FINISHED ]
--- 3rd executeTick() ---
[ Battery: OK ]
Robot says: "mission completed!"
*/
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ nav:
- "Tutorial 1: Create a Tree": tutorial_01_first_tree.md
- "Tutorial 2: Basic Ports": tutorial_02_basic_ports.md
- "Tutorial 3: Generic ports": tutorial_03_generic_ports.md
- "Tutorial 4: Sequences": tutorial_04_sequence_star.md
- "Tutorial 4: Sequences": tutorial_04_sequence.md
- "Tutorial 5: Subtrees and Loggers": tutorial_05_subtrees.md
- "Tutorial 6: Ports remapping": tutorial_06_subtree_ports.md
- "Tutorial 7: Wrap legacy code": tutorial_07_legacy.md
Expand Down
3 changes: 2 additions & 1 deletion src/bt_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ BehaviorTreeFactory::BehaviorTreeFactory()
registerNodeType<WhileDoElseNode>("WhileDoElse");

registerNodeType<InverterNode>("Inverter");
registerNodeType<RetryNode>("RetryUntilSuccesful");
registerNodeType<RetryNodeTypo>("RetryUntilSuccesful"); //typo but back compatibility
registerNodeType<RetryNode>("RetryUntilSuccessful"); // correct one
registerNodeType<KeepRunningUntilFailureNode>("KeepRunningUntilFailure");
registerNodeType<RepeatNode>("Repeat");
registerNodeType<TimeoutNode<>>("Timeout");
Expand Down

0 comments on commit 9dbfeaf

Please sign in to comment.