GitHub - OSSystems/ZephyrBT: A Behaviour Tree framework for embedded devices built on the Zephyr Project. Efficient and modular control flow for real-time systems.

This repository is the Zephyr Behaviour Tree module.

Preparation

The first step is prepare the development machine. The developer must follow the steps at Zephyr RTOS getting started. The recommendation is test using the qemu_cortex_m3 board. In this case, the last step from procedure should try using this command:

cd ~/zephyrproject/zephyr
west build -b qemu_cortex_m3 samples/hello_world -t run

The second step is add your credentials to github. This will add necessary permissions to clone using ssh and send changes. The github documentation can be accessed at Connecting to GitHub with SSH.

How to clone

First, create your root directory, for instance:

The next step is create a python virtual environment with the west tool:

source .venv/bin/activate

Then, initialize zephyrbt root folder:

west init -m git@github.com:ossystems/zephyrbt

Make sure that all requirements are meet:

pip install -r deps/zephyr/scripts/requirements.txt
pip install -r zephyrbt/scripts/requirements.txt

Examples

  • The Tutorial guide you step by step on ZephyrBT (comming soon).
  • The Minimal is an example how to use the ZephyrBT without any IDE.
  • The Dynamic uses their own thread and generate data and stubs from Groot2 IDE.

Tests

To execute the tests just run twister pointing the TESTSUITE_ROOT to your $HOME/zephyrbt folder.