as2fm.scxml_converter.bt_converter.generate_bt_root_scxml

as2fm.scxml_converter.bt_converter.generate_bt_root_scxml(scxml_name: str, tick_id: int, tick_rate: float, tick_if_not_running: bool) ScxmlRoot

Generate the root SCXML for a Behavior Tree.

Parameters:
  • scxml_name – name of the scxml object to be generated.

  • tick_id – A tick ID for the BT Root node.

  • tick_rate – The rate at which the root is ticked.

  • tick_if_not_running – If true, tick the BT root after it stops returning RUNNING.