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

Skip to content

Commit c9f0c2c

Browse files
author
Davide Faconti
committed
Renaming: Negation->Inverter and Deadline->Timeout
1 parent e085949 commit c9f0c2c

22 files changed

+71
-93
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ set(BT_Source
5858
src/shared_library.cpp
5959
src/shared_library_UNIX.cpp
6060

61-
src/decorators/negation_node.cpp
61+
src/decorators/inverter_node.cpp
6262
src/decorators/repeat_node.cpp
6363
src/decorators/retry_node.cpp
64-
src/decorators/deadline_node.cpp
64+
src/decorators/timeout_node.cpp
6565

6666
src/controls/parallel_node.cpp
6767
src/controls/fallback_node.cpp

docs/BT_basics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ You can create your own Decorators.
9696

9797
![Simple Decorator: Enter Room](images/DecoratorEnterRoom.png)
9898

99-
The node __Negation__ is a Decorator that inverts
100-
the result returned by its child; Negation followed by the node called
99+
The node __Inverter__ is a Decorator that inverts
100+
the result returned by its child; Inverter followed by the node called
101101
__DoorOpen__ is therefore equivalent to
102102

103103
"Is the door closed?".

docs/DecoratorNode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A decorator is a node that can have only a single child.
55
It is up to the Decorator to decide if, when and how many times the child should be
66
ticked.
77

8-
## NegationNode
8+
## InverterNode
99

1010
Tick the child once and return SUCCESS if the child failed or FAILURE if
1111
the child succeeded.

docs/images/CrossDoorSubtree.png

15.2 KB
Loading

docs/images/DecoratorEnterRoom.png

1.98 KB
Loading

docs/images/TypeHierarchy.png

6.33 KB
Loading

docs/tutorial_D_subtrees.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Multiple BehaviorTrees can be created and composed in the XML itself.
3030
<!--------------------------------------->
3131
<BehaviorTree ID="DoorClosed">
3232
<Sequence name="door_closed_sequence">
33-
<Negation>
33+
<Inverter>
3434
<IsDoorOpen/>
35-
</Negation>
35+
</Inverter>
3636
<RetryUntilSuccesful num_attempts="4">
3737
<OpenDoor/>
3838
</RetryUntilSuccesful>

docs/uml/CrossDoorSubtree.uxf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
<w>80</w>
133133
<h>30</h>
134134
</coordinates>
135-
<panel_attributes>Negation</panel_attributes>
135+
<panel_attributes>Inverter</panel_attributes>
136136
<additional_attributes/>
137137
</element>
138138
<element>

docs/uml/EnterRoom.uxf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<w>100</w>
5353
<h>30</h>
5454
</coordinates>
55-
<panel_attributes>Negation
55+
<panel_attributes>Inverter
5656
fg=blue</panel_attributes>
5757
<additional_attributes/>
5858
</element>

docs/uml/EnterRoom2.uxf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<w>100</w>
5353
<h>30</h>
5454
</coordinates>
55-
<panel_attributes>Negation
55+
<panel_attributes>Inverter
5656
fg=blue</panel_attributes>
5757
<additional_attributes/>
5858
</element>

0 commit comments

Comments
 (0)