as2fm.scxml_converter.scxml_entries.utils.get_plain_expression
- as2fm.scxml_converter.scxml_entries.utils.get_plain_expression(in_expr: str, cb_type: CallbackType, struct_declarations: ScxmlStructDeclarationsContainer | None) str
Convert ROS-specific PREFIXES, custom struct array indexing to plain SCXML.
- e.g. _msg.a => _event.data.a and
objects[2].x => objects.x[2]
- Parameters:
in_expr – The expression to convert.
cb_type – The type of callback the expression is used in.