Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: changed loc_config_path declaration from let to arg #1204

Conversation

SakodaShintaro
Copy link
Contributor

@SakodaShintaro SakodaShintaro commented Oct 31, 2024

Description

Context

Currently, Autoware cannot accept the argument ndt_scan_matcher/ndt_scan_matcher_param_path.

NG)

ros2 launch autoware_launch logging_simulator.launch.xml \
    map_path:=$MAP \
    ndt_scan_matcher/ndt_scan_matcher_param_path:=/your/path

This is because the argument is overwritten in tier4_localization_component.launch.xml.

<arg name="ndt_scan_matcher/ndt_scan_matcher_param_path" value="$(var loc_config_path)/ndt_scan_matcher/ndt_scan_matcher.param.yaml"/>

The loc_config_path is not an argument, as it is declared using let.

<let name="loc_config_path" value="$(find-pkg-share autoware_launch)/config/localization"/>

Also NG)

ros2 launch autoware_launch logging_simulator.launch.xml \
    map_path:=$MAP \
    loc_config_path:=/your/path

Changes

In this pull request, I have changed the loc_config_path declaration from let to arg.

OK!)

ros2 launch autoware_launch logging_simulator.launch.xml \
    map_path:=$MAP \
    loc_config_path:=/your/path

Tests performed

Effects on system behavior

Not applicable.

Interface changes

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
@SakodaShintaro SakodaShintaro self-assigned this Oct 31, 2024
@github-actions github-actions bot added the component:localization Vehicle's position determination in its environment. (auto-assigned) label Oct 31, 2024
@SakodaShintaro SakodaShintaro marked this pull request as ready for review November 6, 2024 05:50
@SakodaShintaro SakodaShintaro merged commit 1ab296d into autowarefoundation:main Nov 6, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:localization Vehicle's position determination in its environment. (auto-assigned) run:build-and-test-differential
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants