Skip to content

Commit 7a6089d

Browse files
authored
Fix isDoorClosed logic (#34)
`isDoorClosed` should be true when the door is not opened `_door_open != true`
1 parent 9efe4b1 commit 7a6089d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial-basics/tutorial_05_subtrees.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class CrossDoor
7575
public:
7676
void registerNodes(BT::BehaviorTreeFactory& factory);
7777

78-
// SUCCESS if _door_open == true
78+
// SUCCESS if _door_open != true
7979
BT::NodeStatus isDoorClosed();
8080

8181
// SUCCESS if _door_open == true

0 commit comments

Comments
 (0)