Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUSE occurs when using BTGuard Node! #29

Open
lcfzblcfzb opened this issue Nov 10, 2021 · 0 comments
Open

ISSUSE occurs when using BTGuard Node! #29

lcfzblcfzb opened this issue Nov 10, 2021 · 0 comments

Comments

@lcfzblcfzb
Copy link

I am new to the behavior tree,still learning .
today I create a test project and try build one simple behavior tree. looks like thi
捕获
s:
I use a parallel node as root, and first child of root is response to scan the target, measure the distance between. and CheckFound is also the lock and unlock object of BTGuard node (true->unlock,false->lock)
second child of root is the BTGuard node,which I want to be unlock when target is found.

when I run the test ,this error appears:
"Invalid BTNodeState assignment. Can only set to success or failure."

the debug result shows that when executing the tick() method of the Selector Node, its already running, so in the _tick() method of
BTGuard ,it get a result of false ,and child state is still running.

maybe I've misuse the BTGuard node because Im new to behavior tree ,but still want to know when and how to properly use BTGuard and do not run into problems!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant