as2fm.jani_generator.scxml_helpers.roaml_model.RoamlBehaviorTree
- class as2fm.jani_generator.scxml_helpers.roaml_model.RoamlBehaviorTree(bt_element: _Element | None, folder_path: str)
 Bases:
objectHandler for the behavior_tree section of a ROAML file.
- __init__(bt_element: _Element | None, folder_path: str)
 
Methods
__init__(bt_element, folder_path)from_roaml_xml(parent_element, folder)Load the BT declaration and related plugins from the RoAML XML node.
get_bt_path()get_plugins()get_tag()- static from_roaml_xml(parent_element: _Element, folder: str) RoamlBehaviorTree
 Load the BT declaration and related plugins from the RoAML XML node.
- Parent_element:
 The RoAML element to extract the information from.
- Parent folder:
 Path to the folder containing the RoAML xml file.
- Returns:
 An instance of RoamlBehaviorTree.