module documentation

Roslaunch XML file parser.

Class XmlLoader Parser for roslaunch XML format. Loads parsed representation into ROSConfig model.
Exception XmlParseException Error with the XML syntax (e.g. invalid attribute/value combinations)
Function ifunless Decorator for evaluating whether or not tag function should run based on if/unless attributes
Function ifunless_test @return True: if tag should be processed according to its if/unless attributes
Constant CLEAR_PARAMS Undocumented
Constant NS Undocumented
Function _bool_attr Validate boolean xml attribute. @param v: parameter value or None if no value provided @type v: any @param default: default value @type default: bool @param label: parameter name/label @type label: str @return: boolean value for attribute @rtype: bool @raise XmlParseException: if v is not in correct range or is empty.
Function _float_attr Validate float xml attribute. @param v: parameter value or None if no value provided @type v: any @param default: default value @type default: float @param label: parameter name/label @type label: str @return: float value for attribute @rtype: float @raise XmlParseException: if v is not in correct range or is empty.
Function _get_text Undocumented
Variable _assignable Undocumented
Variable _is_default Undocumented
def ifunless(f):

Decorator for evaluating whether or not tag function should run based on if/unless attributes

def ifunless_test(obj, tag, context):

@return True: if tag should be processed according to its if/unless attributes

CLEAR_PARAMS: str =

Undocumented

Value
'clear_params'
NS: str =

Undocumented

Value
'ns'
def _bool_attr(v, default, label):

Validate boolean xml attribute. @param v: parameter value or None if no value provided @type v: any @param default: default value @type default: bool @param label: parameter name/label @type label: str @return: boolean value for attribute @rtype: bool @raise XmlParseException: if v is not in correct range or is empty.

def _float_attr(v, default, label):

Validate float xml attribute. @param v: parameter value or None if no value provided @type v: any @param default: default value @type default: float @param label: parameter name/label @type label: str @return: float value for attribute @rtype: float @raise XmlParseException: if v is not in correct range or is empty.

def _get_text(tag):

Undocumented

_assignable: dict[str, bool] =

Undocumented

_is_default: dict[str, bool] =

Undocumented