== <env> tag ==

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 [[roslaunch/XML/launch|<launch>]], [[roslaunch/XML/include|<include>]], [[roslaunch/XML/node|<node>]] or [[roslaunch/XML/machine|<machine>]] tag. When it is used inside of a `<launch>` tag, the `<env>` tag only applies to nodes declared ''after''. Some environment variables can be found in [[ROS/EnvironmentVariables#Node_Environment_Variables|EnvironmentVariables]].

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

=== Attributes ===

 `name="environment-variable-name"`
  Environment variable you are setting.
 `value="environment-variable-value"`
  Value to set the environment variable to.