-
Notifications
You must be signed in to change notification settings - Fork 696
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(route_handler): add unit tests #6961
Merged
zulfaqar-azmi-t4
merged 19 commits into
autowarefoundation:main
from
zulfaqar-azmi-t4:route-handler-unit-test
May 21, 2024
Merged
feat(route_handler): add unit tests #6961
zulfaqar-azmi-t4
merged 19 commits into
autowarefoundation:main
from
zulfaqar-azmi-t4:route-handler-unit-test
May 21, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a904ef7
to
1970163
Compare
1970163
to
959b8a9
Compare
auto-merge was automatically disabled
May 14, 2024 14:21
Pull request was converted to draft
959b8a9
to
3f3ed45
Compare
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
66a8518
to
5563a6d
Compare
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
soblin
approved these changes
May 20, 2024
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
b0a0a39
into
autowarefoundation:main
21 of 22 checks passed
zulfaqar-azmi-t4
added a commit
to zulfaqar-azmi-t4/autoware.universe
that referenced
this pull request
May 28, 2024
* feat(route_handler): add unit tests Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Added route parser Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Completed parser Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Added route file for later test Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * pre-commit Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Added test for isHandlerReady Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix some cppcheck error Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Added additional test Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * move to planning test utils Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * renaming route_parser Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * rename function Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Renaming several things Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * style(pre-commit): autofix * remove some function Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * add additional test Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Update README Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Add more explanation in the readme Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * style(pre-commit): autofix * fix lane change test route width Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
karishma1911
pushed a commit
to Interplai/autoware.universe
that referenced
this pull request
Jun 3, 2024
* feat(route_handler): add unit tests Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Added route parser Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Completed parser Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Added route file for later test Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * pre-commit Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Added test for isHandlerReady Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix some cppcheck error Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Added additional test Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * move to planning test utils Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * renaming route_parser Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * rename function Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Renaming several things Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * style(pre-commit): autofix * remove some function Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * add additional test Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Update README Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Add more explanation in the readme Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * style(pre-commit): autofix * fix lane change test route width Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component:planning
Route planning, decision-making, and navigation. (auto-assigned)
run:build-and-test-differential
Mark to enable build-and-test-differential workflow. (used-by-ci)
run:deploy-docs
Mark for deploy-docs action generation. (used-by-ci)
type:documentation
Creating or refining documentation. (auto-assigned)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR aims to add and start unit testing for route handler packages. To avoid numeric inputs (for example start and goal poses) to be hard coded, mock data parser is added. The objective of the mock data parser is to simulate output from mission planner.
Related links
None
Tests performed
colcon test
Notes for reviewers
Currently route parser is added to the route handler. Although it is weird, at the moment we do not have any consideration on where to actually place it. If in the future, other packages want to use it for testing, it will be moved into a much more suitable place.
Interface changes
None
ROS Topic Changes
None
ROS Parameter Changes
None
Effects on system behavior
None
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.
After all checkboxes are checked, anyone who has write access can merge the PR.