Skip to content
C++ implementation of BehaviorNodes that make up a BehaviorTree. Also provides tree generation via lua script.
C++ Lua CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
luaScriptsForUnitTests
src
uml
.clang
.gitignore
CMakeLists.txt
Changelog.md
Doxyfile
LICENSE
README.md

README.md

BehaviorTree

Compiling

This project requires a compiler that supports C++11.

Also, lua is a dependency.

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=True ..
make
make DESTDIR=install_out install

Note that UnitTest will only build if the library gtest is available.

Documentation

See the header files in src/BT for documentation (start with BT::BehaviorNode).

See luaScriptsForUnitTests/TestLuaFactoryScript.lua as an example for generating a BehaviorTree with BT::BehaviorLuaFactory.

If you have doxygen installed, you can generate html documentation.

doxygen
firefox doxygen_html/html/index.html
You can’t perform that action at this time.