Skip to content

feat(autoware_localization_config): add the ndt.backend parameter of autoware_ndt_scan_matcher - #2016

Closed
xmfcx wants to merge 2 commits into
mainfrom
feat/ndt-scan-matcher-backend-param
Closed

xmfcx wants to merge 2 commits into
mainfrom
feat/ndt-scan-matcher-backend-param

Conversation

@xmfcx

@xmfcx xmfcx commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Description

This PR adds ndt.backend: "omp" to the parameter file of autoware_ndt_scan_matcher. The sync-params script generated the change.

The autoware_core PR below adds the parameter without a default value in the code, as the parameter guideline requires. Without this line, the node stops at startup.

Parent issue:

Merge order

  1. The autoware_core stack merges first. Merging autoware_core#1527 also merges the PRs below it in its stack.
  2. Then I run the sync-params script against main of autoware_core again and push the result to this PR. The Source: line then points to a commit on main.
  3. This PR merges right after that.

Keep this PR as a draft until step 2. Today, the Source: line points to a commit on the branch of autoware_core#1527. That commit disappears after a rebase or a squash merge, and then the sync-params check fails on every autoware_launch PR.

Between step 1 and step 3, the node of autoware_core main does not start with the parameter file of autoware_launch main.

How was this PR tested?

  • I ran python .github/scripts/sync_params.py localization with a configuration that sets the autoware_core ref to feat/ndt-backend-plugin. The script also updated lidar_marker_localizer.param.yaml from a newer autoware_universe change. I reverted that file, because it is not part of this change and the next sync-params run brings it.
  • With this parameter file, the node of the autoware_core stack starts and loads the omp backend. In open-loop runs on the sample rosbag, its poses, iteration counts and scores are bit-identical to main.

AI usage

Generation: Claude Code (Claude Opus 5.5). I set the design, the requirements and the PR structure. The agent ran the sync-params script and wrote this description.

Self-review: in progress. This PR stays a draft until I have read the full diff myself.

Verification: the sync-params run and the node startup above. I also ran the node of autoware_core main with this parameter file: it starts, and it ignores the new key. A clean-context agent review of the first version found the problems of the Source: line and the merge order. This version of the description addresses them.

Notes for reviewers

None.

Effects on system behavior

None. The current node of autoware_core main ignores the new key.

…autoware_ndt_scan_matcher

autoware_ndt_scan_matcher loads its NDT implementation as a pluginlib backend, by the name in the new parameter ndt.backend. The parameter has no default value in the code, so the node needs it in this file. The sync-params script generated the change from the autoware_core branch feat/ndt-backend-plugin.

Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
@xmfcx xmfcx self-assigned this Nov 9, 2026
@github-actions

github-actions Bot commented Nov 9, 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:

…ters from the updated core branch

The branch of the paired autoware_core PR changed, so the Source line points to its new commit. The parameters do not change.

Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
@xmfcx

xmfcx commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

This PR is replaced by the documented sync-params flow. The parameter now goes into autoware_core first, in the PR below. After it merges, the sync-params workflow adds ndt.backend to this repository, and only then does the node require it.

@xmfcx xmfcx closed this Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant