as2fm.scxml_converter.scxml_entries.bt_utils

Collection of SCXML utilities related to BT functionalities.

Functions

generate_bt_response_event(instance_id)

Generate the BT response event name for a given BT node instance.

generate_bt_tick_event(instance_id)

Generate the BT tick event name for a given BT node instance.

is_blackboard_reference(port_value)

Check if a port value is a reference to a Blackboard variable.

is_bt_event(event_name)

Given an event name, returns whether it is related to a BT event or not.

replace_bt_event(event_name, instance_id)

Given a BT event name, returns the same event including the BT node instance.

Classes

BtPortsHandler()

Collector for declared BT ports and their assigned value.

BtResponse(value)

Enumeration of possible BT responses.