<env> tag (deprecated)

The <env> tag is deprecated since Fuerte. Use env-loader instead.

The <env> tag allows you to set environment variables on nodes that are launched. This tag may only be used within the scope of a <launch>, <include>, <node> or <machine> tag. When it is used inside of a <launch> tag, the <env> tag only applies to nodes declared after.

NOTE: Values set using the <env> tag will not be seen by $(env ...), so the <env> tag cannot be used to parametrize launch files.


  • name="environment-variable-name"

    • Environment variable you are setting.


    • Value to set the environment variable to.

Wiki: roslaunch/XML/env (last edited 2016-06-02 01:28:25 by becomesaflame)