Replies: 2 comments
-
Yeah, I agree that is the case. Seems like the inverter is unnecessary |
Beta Was this translation helpful? Give feedback.
0 replies
-
A quick look seems to confirm this. Maybe open an issue on the btcpp_website repo instead. This issue that has already been posted there seems to be related. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have just been recently revisiting the tutorials and I think I either spotted a mistake or my understanding is wrong!
The section I am going to refer to is in Decorators on this page: https://www.behaviortree.dev/docs/learn-the-basics/BT_basics
There is a picture about opening the door. In particularly, I wonder about the fallback subtree:
I belive that either the Inverter should be removed, or the condition node should be "IsDoorClosed".
My reasoning:
if condition node "IsDoorOpen" return SUCCESS, the inverter will change it to "FAILURE", which will result that the fallback triggers the next strategy which is to try to open the door... but the door is opened in the first place.
Beta Was this translation helpful? Give feedback.
All reactions