An example of a postcondition-precondition-action (PPA) that is backchained once to create a more capable tree.
Tested with BehaviorTree.CPP v4.5.1 with plain CMake.
- Clone the repo.
- Check out the same version:
git checkout 4.5.1 - Set up dependencies according to the repo's README.
- Copy the
gtest_ppa.cppfile to thetests/directory. - Modify
tests/CMakeLists.txtto includegtest_ppa.cppin theBT_TESTSvariable.