Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template<class Subject>
- bt1::Status bt1::ConditionArrived<Subject>::update()
- {
- if (BB->IsArrived())
- {
- return bt1::BH_FAILURE; // ok I want the node to return success in case the bool is false so that the sequence
- // will continue running it's other children.
- // If it is true that tank has arrived then I don't need to find the path
- }
- return bt1::BH_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement