as2fm.scxml_converter.scxml_entries.bt_utils

Collection of SCXML utilities related to BT functionalities.

Functions

generate_bt_blackboard_set(bt_bb_ref_name)

Generate the name of the evnt setting a specific Blackboard variable.

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.

get_blackboard_variable_name(port_value)

get_input_variable_as_scxml_expression(...)

Given an input variable it generates an expression as event data or single value.

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[, names, module, qualname, ...])

Enumeration of possible BT responses.