<include> tag

The <include> tag enables you to import another roslaunch XML file into the current file. It will be imported within the current scope of your document, including <group> and <remap> tags. All content in the include file will be imported except for the <master> tag: the <master> tag is only obeyed in the top-level file.

Attributes

  • file="$(find pkg-name)/path/filename.xml"

    • Name of file to include.

    ns="foo" (optional)

    • Import the file relative to the 'foo' namespace.

    clear_params="true|false" (optional Default: false)

    • Delete all parameters in the <include>'s namespace before launch. This feature is very dangerous and should be used with caution. ns must be specified. Default: false.

Elements

  • <env>

    • Set an environment variable on across the entire included file.

    <arg>

    • Pass an argument to the included file.

Wiki: roslaunch/XML/include (last edited 2010-07-27 23:01:26 by KenConley)