ros2 / launch

Tools for launching multiple processes and for writing tests involving multiple processes.
Apache License 2.0
126 stars 144 forks source link

Support setting output_format as an environment variable #664

Open Aposhian opened 2 years ago

Aposhian commented 2 years ago

Feature request

Feature description

ROS2 supports setting the log format with the environment variable RCUTILS_CONSOLE_FORMAT. It would be nice to do something similar for launch without having to set the kwarg on every Action in every launch file (especially third-party launch files).

Implementation considerations

If the environmental variable is set, ignore output_format args and simply use that.