-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Title: Proposal for OpenHarmony Adaptation of behaviortree
Background
OpenHarmony is an open-source operating system and community that is widely used in the field of intelligent terminals.
Currently, behaviortree is extensively utilized in the mobile application development domain of OpenHarmony. We have created this Issue hoping to supplement the guidance on using behaviortree in the OpenHarmony system in the upstream repository. We sincerely welcome you to put forward your valuable suggestions.
Adaptation Proposal
We have completed the OpenHarmony adaptation for behaviortree, including:
- Providing a demo for using behaviortree in HarmonyOS
- Following the OHPM (OpenHarmony Package Manager) specification, the adapted version has been published to the OpenHarmony third-party software package central repository
We'll submit the adaptation code through a Pull Request (PR) promptly.
Testing Results
We have conducted extensive compatibility testing across:
- Different versions of OpenHarmony
- Various OpenHarmony device types
Verified versions include:
- DevEco Studio: NEXT Beta1-5.0.3.806, SDK: API1/XMLSchema Release(5.0.0.66)
- DevEco Studio: 4.1 Release (4.1.0.400), SDK: API 11 Release (4.1.7.5)
- DevEco Studio: 4.0 Beta2(4.0.3.512), SDK: API10 (4.0.10.9)
- DevEco Studio: 3.1.1 Release(3.1.0.501), SDK: API9 Release(3.2.12.5)
Coverage of unit test cases is as follows:
| Interface Name | Passed | Remarks |
|---|---|---|
| BehaviorTree | pass | |
| SUCCESS | pass | |
| FAILURE | pass | |
| RUNNING | pass | |
| getRegistry | pass | |
| registryLookUp | pass | |
| BehaviorTreeImporter | pass | |
| BranchNode | pass | |
| Node | pass | |
| Parallel | pass | |
| ParallelComplete | pass | |
| ParallelSelector | pass | |
| Selector | pass | |
| Sequence | pass | |
| Random | pass | |
| Decorator | pass | |
| Task | pass | |
| Introspector | pass | |
| decorators | pass |
The results show excellent compatibility without significant stability issues. Test reports can be provided as needed.
Labels
enhancement, compatibility, cross-platform