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

feat(autoware_mpc_lateral_controller): use parameter from param.yaml file in unit_test #7057

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

kyoichi-sugahara
Copy link
Contributor

Description

Before PR:
The parameters used in the unit test are hardcoded.
It's better to use parameters from param.yaml, which contains the default parameters.

Tests performed

100% Test passed with following command

colcon test --event-handlers console_cohesion+ --packages-select mpc_lateral_controller

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.

@github-actions github-actions bot added the component:control Vehicle control algorithms and mechanisms. (auto-assigned) label May 18, 2024
Signed-off-by: kyoichi-sugahara <[email protected]>
The autoware_mpc_lateral_controller package.xml file was modified to update the dependency from `planning_test_utils` to `autoware_test_utils`. Additionally, the test_mpc.cpp file was updated to include the `autoware_test_utils` header.

Signed-off-by: kyoichi-sugahara <[email protected]>
@kyoichi-sugahara kyoichi-sugahara changed the title feat(mpc_lateral_controller): use parameter from param.yaml file in unit_test feat(autoware_mpc_lateral_controller): use parameter from param.yaml file in unit_test Jun 24, 2024
Copy link

stale bot commented Aug 23, 2024

This pull request has been automatically marked as stale because it has not had recent activity.

@stale stale bot added the status:stale Inactive or outdated issues. (auto-assigned) label Aug 23, 2024
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) status:stale Inactive or outdated issues. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant