ros2 / ros2/launch

Support setting output_format as an environment variable

Open
#664 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog enhancement
Dominant language
Python
Stars
155
Forks
182
Avg merge
2d 14h
Merged PRs (30d)
6

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the launch package reads the output_format kwarg on Actions and how launch files construct those Actions. Compare the requested behavior with ROS2's RCUTILS_CONSOLE_FORMAT handling; done means a configured environment variable overrides per-Action output_format values, including in third-party launch files.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.