BehaviorTree.CPP

Behavior Trees Library in C++. Batteries included.

MIT License

Stars
2.9K

Bot releases are hidden (Show)

BehaviorTree.CPP - Lot of interesting stuff

Published by facontidavide over 2 years ago

Noteworthy changes:

  • A better way to include BTs from multiple files, either manually or using the <include> tag
  • Adding a new Tree::sleep() method (experimental) to create event-driven trees.
  • Example showing how to effectively use queues to do a "for-loop"
  • Bug fixes
BehaviorTree.CPP - Important changes

Published by facontidavide over 4 years ago

In this new release, there are many changes (including few that are breaking in API).

  • New Switch ControlNode.
  • Tree now provides two public methods: tickRoot() and haltTree()
  • CoroAction (coroutines) now need Boost.
  • most importantly, TreeNode::setStatus() is protected now!

The last change will be annoying for many people, but it is the only way to avoid nasty antipatterns.

BehaviorTree.CPP - Version 2.3.0: API change in BehaviorTreeFactory::registerBuilder

Published by facontidavide almost 6 years ago

There are few bugs fixed since version 2.2.0 (see CHANGELOG).

Someone code may break because the signature of the method registerBuilder had to change since the manifest was not created nor added to the manifest list.

See commit 6181d87cc1128485fb11fe7dd6e8c796348a38af for details.

BehaviorTree.CPP - Version 2.2: SimpleNodes + NodeParameters = ❤

Published by facontidavide almost 6 years ago

This release includes a few changes that you can read in the CHANGELOG.rst.

The most notable is that SimpleActions, SimpleDecorators and SimpleConditions will not allow NodeParameters.
Check the tutorial T06 out to see a practical example of how this helps wrapping legacy code into a TreeNode.

BehaviorTree.CPP - Version 2.1: Change in directory structure

Published by facontidavide almost 6 years ago

With the latest change in CMake to support the installation of the library, it became apparent that the include needed some refactoring.

This will break the code of people using the previous version, sorry :(

Bear with me

BehaviorTree.CPP - First beta of version 2.0

Published by facontidavide about 6 years ago

It has been a long journey, but we are ready to announce the preliminary version of BehaviorTree.CPP
2.0.

Enjoy