Skip to content

refactor(system)!: migrate tier4_system_launch to autoware_system_launch with a separate config directory - #2029

Merged
isamu-takagi merged 15 commits into
autowarefoundation:mainfrom
isamu-takagi:refactor/move-system-launch
Dec 1, 2026
Merged

isamu-takagi merged 15 commits into
autowarefoundation:mainfrom
isamu-takagi:refactor/move-system-launch

Conversation

@isamu-takagi

@isamu-takagi isamu-takagi commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Description

Modularization of components #1939. This PR includes the following changes.

  1. Rename tier4_system_launch to autoware_system_launch.
  2. Separate config files into config directory.
  3. Specify a directory rather than individual configuration files.
  4. Update the README to clarify the external specifications.
  5. Fix a bug where autoware-main-e2e.yaml was not used when planning_setting:=diffusion_planner.

AI usage: After creating the PR, I had Claude Code review the changes and provide suggestions for revisions.

How was this PR tested?

Check autonomous driving in planning simulator.

Notes for reviewers

None.

Effects on system behavior

None.

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
@github-actions

Copy link
Copy Markdown

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@github-actions github-actions Bot added component:localization Vehicle's position determination in its environment. (auto-assigned) component:system System design and integration. (auto-assigned) type:ci Continuous Integration (CI) processes and testing. (auto-assigned) component:control Vehicle control algorithms and mechanisms. (auto-assigned) component:map Map creation, storage, and loading. (auto-assigned) component:perception Advanced sensor data processing and environment understanding. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) labels Nov 25, 2026
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
@isamu-takagi

Copy link
Copy Markdown
Contributor Author

I found that the diagnostic_graph_aggregator_graph_path argument in e2e_simulator.launch.launch.xml was not working, so I'm fixing it.

@isamu-takagi
isamu-takagi marked this pull request as draft November 25, 2026 10:29
…e and planning_setting

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
…system_launch

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
…_param_path arg

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
@github-actions github-actions Bot added the component:simulation Virtual environment setups and simulations. (auto-assigned) label Nov 25, 2026
@isamu-takagi
isamu-takagi marked this pull request as ready for review November 25, 2026 11:01
@technolojin technolojin mentioned this pull request Nov 25, 2026
3 tasks done

@technolojin technolojin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! LGTM

@TetsuKawa

Copy link
Copy Markdown
Contributor

@isamu-takagi
Question: is it intended that config paths can no longer be overridden?

Before, *_param_path and diagnostic_graph_aggregator_graph_path were <arg>s. Now they are <let>s, and only config_directory can be changed. But config_directory is not passed through component_system.launch.xml / autoware.launch.xml, so users can't use custom configs (e.g. a vehicle-specific diag graph).

If not intended, could we expose config_directory (or a system_config_pkg arg like planning) from autoware.launch.xml?

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
@isamu-takagi

Copy link
Copy Markdown
Contributor Author

@TetsuKawa The planning component does not expose config package argument to autoware.launch.xml or component_planning.launch.xml. The planning_config_pkg is first introduced in autoware_planning_launch.

Since arguments ​​propagate unless group action forwarding is set to false, you can override them by specifying them via the command line. So the system component can also specify a config_directory.

However, since the name is too generic, I added an argument with a different name to component_system.launch.xml to reduce the risk of name collisions. 7ffc772

@shmpwk shmpwk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in terms of the directory composition

@isamu-takagi isamu-takagi changed the title refactor(system): refactor(system)!: migrate tier4_system_launch to autoware_system_launch with a separate config directory refactor(system)!: migrate tier4_system_launch to autoware_system_launch with a separate config directory Nov 30, 2026
@isamu-takagi
isamu-takagi enabled auto-merge (squash) November 30, 2026 08:09

@ito-san ito-san left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Verified the fixes.

@isamu-takagi
isamu-takagi merged commit 0e46756 into autowarefoundation:main Dec 1, 2026
27 checks passed
@isamu-takagi
isamu-takagi deleted the refactor/move-system-launch branch December 1, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:control Vehicle control algorithms and mechanisms. (auto-assigned) component:localization Vehicle's position determination in its environment. (auto-assigned) component:map Map creation, storage, and loading. (auto-assigned) component:perception Advanced sensor data processing and environment understanding. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) component:simulation Virtual environment setups and simulations. (auto-assigned) component:system System design and integration. (auto-assigned) run:build-and-test-differential type:ci Continuous Integration (CI) processes and testing. (auto-assigned)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants