-
Notifications
You must be signed in to change notification settings - Fork 2
Behaviors
Andrew Cua edited this page Dec 2, 2022
·
3 revisions
The basic node everything is built on, in order to create a BT::Node it requires a pointer to the next node in the chain and the node that proceeded it.
- T: the input state the Run function will accept as a parameter
- U: the output that the Run function returns that determines what the robot will do.
A node that accepts several nodes that will execute them in sequence in order of them being added. Think of it as a chain of Nodes that must finish before it proceeds to its respective next
node.
A Node that accepts a conditional function to evaluate along with a fallback node. If the conditional returns true it runs the next
node but does not proceed to it. If the conditional is false it runs the fallback node.