-
Notifications
You must be signed in to change notification settings - Fork 650
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(raw_vehicle_cmd_converter): add validation to same column value case #2164
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand this validation is needed for col, and not for row in that
// validate row | |
if (vec.at(j) < vec.at(j - 1) && is_row_decent) { | |
invalid_index_pair = std::make_pair(i, j); | |
is_invalid = true; | |
} | |
if (vec.at(j) > vec.at(j - 1) && !is_row_decent) { | |
invalid_index_pair = std::make_pair(i, j); | |
is_invalid = true; |
column values should not include same values but should be increasing order |
@TakaHoribe |
Codecov ReportBase: 10.77% // Head: 10.77% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## main #2164 +/- ##
=======================================
Coverage 10.77% 10.77%
=======================================
Files 1186 1186
Lines 84843 84843
Branches 19898 19898
=======================================
Hits 9144 9144
Misses 66007 66007
Partials 9692 9692
*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@TakaHoribe |
…case (autowarefoundation#2164) Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
https://github.com/tier4/autoware_individual_params.rd/tree/rx3-main/individual_params/config/13/pacmod
Expected test result if you replace example map