Skip to content

feat(autoware_sample_designs): switch the sample to the driving mode manager stack - #2035

Draft
technolojin wants to merge 2 commits into
autowarefoundation:mainfrom
technolojin:feat/sample-designs-driving-mode-manager
Draft

technolojin wants to merge 2 commits into
autowarefoundation:mainfrom
technolojin:feat/sample-designs-driving-mode-manager

Conversation

@technolojin

Copy link
Copy Markdown
Contributor

Description

Switch the autoware_sample_designs system to the driving mode manager stack, following the mode management of the launch files.

  • System.module: DrivingModeManager replaces MrmHandler. It owns the operation mode and the MRM state, and drives the MRM operators and the gates. The per-operator outputs are exported and bound to one shared topic per flag by the system remaps.
  • CommandGate.module / Control.module: ControlCommandGate and AutonomousModeTransitionFlag replace VehicleCmdGate and OperationModeTransitionManager, and a TrajectoryGate sits in front of the trajectory follower. The command gate takes the main, stop and emergency stop sources; the gate status and services are exported for the driving mode manager.
  • AutowareSample.system: connect the system and control modules, and bind the topics the MRM operators share.
  • Parameter sets: control_command_gate and driving_mode_manager entries.
  • PoseEstimatorNdt.module: export the NDT initial-to-result relative pose, resolved to /localization/pose_estimator/initial_to_result_relative_pose as in the launch file.

Related links

Depends on the node designs in:

How was this PR tested?

  • colcon build --packages-select autoware_sample_designs together with the two PRs above: the sample system builds without errors.

Notes for reviewers

Design files only; the launch files are unchanged.

Effects on system behavior

None for the launch files. The sample system generated from the designs runs the driving mode manager stack.

…relative pose

Export the relative pose from PoseEstimatorNdt.module so the sample
system resolves it to /localization/pose_estimator/initial_to_result_relative_pose,
the topic the launch file gives it.

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
…manager stack

Follow the mode management of the launch files: DrivingModeManager in
place of MrmHandler, ControlCommandGate and AutonomousModeTransitionFlag
in place of VehicleCmdGate and OperationModeTransitionManager, and a
TrajectoryGate in front of the trajectory follower.

- System.module: the driving mode manager owns the operation mode and
  MRM state, and drives the MRM operators and the gates.
- CommandGate.module / Control.module: the command gate takes the main,
  stop and emergency stop sources; the gate status and services are
  exported for the driving mode manager.
- AutowareSample.system: connect the system and control modules, and
  bind the topics the MRM operators share.
- Parameter sets: control_command_gate and driving_mode_manager entries.

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
@github-actions github-actions Bot added component:system System design and integration. (auto-assigned) component:control Vehicle control algorithms and mechanisms. (auto-assigned) labels Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026

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:

@technolojin technolojin self-assigned this Dec 2, 2026
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:system System design and integration. (auto-assigned)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant