Skip to content

refactor(vehicle): delegate vehicle interface launch to vehicle_launch pkg#1789

Draft
Autumn60 wants to merge 2 commits intoautowarefoundation:mainfrom
tier4:refactor/vehicle_if_launch_delegation
Draft

refactor(vehicle): delegate vehicle interface launch to vehicle_launch pkg#1789
Autumn60 wants to merge 2 commits intoautowarefoundation:mainfrom
tier4:refactor/vehicle_if_launch_delegation

Conversation

@Autumn60
Copy link
Contributor

@Autumn60 Autumn60 commented Mar 11, 2026

Description

Adds a string argument vehicle_launch_mode to tier4_vehicle_launch's vehicle.launch.xml to choose how vehicle-related launch is done.

Value Behavior
vehicle_interface (default) Legacy: this launch file includes vehicle_interface.launch.xml when launch_vehicle_interface is true.
vehicle Includes the vehicle package's vehicle.launch.xml and passes launch_vehicle_interface (and other args). The vehicle package decides whether to start vehicle_interface and can run vehicle-specific logic (e.g. SteeringReport → JointState for articulated vehicles) with or without it.

This enables launching vehicle-specific functionality without vehicle_interface, which is useful for articulated vehicles and especially for simulation, where vehicle_interface is usually not needed.

launch_structure

How was this PR tested?

  • vehicle_launch_mode="vehicle_interface": behavior matches the previous implementation.
  • vehicle_launch_mode="vehicle": vehicle package's vehicle.launch.xml is included and receives the intended arguments.

Notes for reviewers

None.

Effects on system behavior

  • Backward compatible: Default is vehicle_interface; existing callers and vehicle packages require no change.
  • Opt-in: Set vehicle_launch_mode="vehicle" to use a vehicle package's vehicle.launch.xml. That package must provide launch/vehicle.launch.xml and handle launch_vehicle_interface as needed.

…h.xml

Signed-off-by: Autumn60 <harada.akiro@gmail.com>
@github-actions
Copy link

github-actions bot commented Mar 11, 2026

Thank you for contributing to the Autoware project!

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

Please ensure:

Signed-off-by: Autumn60 <harada.akiro@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant