Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Behavior Tree Compilator PoC: Blockly -> PDDL #21

Open
Flamak opened this issue Mar 3, 2022 · 0 comments · May be fixed by #22
Open

Behavior Tree Compilator PoC: Blockly -> PDDL #21

Flamak opened this issue Mar 3, 2022 · 0 comments · May be fixed by #22
Assignees

Comments

@Flamak
Copy link
Collaborator

Flamak commented Mar 3, 2022

This work is focused on building a minimalistic environment, where we develop a behavior tree using the blockly visual framework and then produce (compile) the tree structure into python code that builds and executes the tree. We can break down the work into several steps:

  1. Fork pddl-blockly PoC into bt-blockly PoC as a blueprint to start from. Directory fork done.

  2. Explore how Blocks are defined in the BT-PoC, the file can be loaded in the blockly factory.

  3. Update poc-blockly-bt with several sample behavior tree nodes - sequence, control, parallel and a leaf-node.

  4. Update the compilation of the blockly tree into Py Trees framework, similarly to the functionality of "Show PDDL". The construction can be simplified - e.g. first generating all the behavior nodes (using default classes in Py Trees), then generating the code that plugs them together, producing the final tree at the output of the compilation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants