-
Notifications
You must be signed in to change notification settings - Fork 698
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
test(image_projection_based_fusion): add unit test code for geometry #7096
test(image_projection_based_fusion): add unit test code for geometry #7096
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.
Thank you for the PR 🎉
I left some minor comments on the coding style
perception/image_projection_based_fusion/test/test_geometry.cpp
Outdated
Show resolved
Hide resolved
perception/image_projection_based_fusion/test/test_geometry.cpp
Outdated
Show resolved
Hide resolved
int height_ = 400; // image height | ||
int width_ = 300; // image width |
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.
int height_ = 400; // image height | |
int width_ = 300; // image width | |
int height = 400; // image height | |
int width = 300; // image width |
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.
fixed in be2118e
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.
LGTM 🎉
…_based_fusion/test_vertices_points_inside_roi
…ices_points_inside_roi
@MasatoSaeki I forced the DCO CI passed. From next time please signoff for each github commit (by |
…ices_points_inside_roi
…_based_fusion/test_vertices_points_inside_roi
Signed-off-by: MasatoSaeki <masato.saeki@tier4.jp>
…utowarefoundation#7096) * add geometry utility test code * style(pre-commit): autofix * fix scope and declare * change declare name * style(pre-commit): autofix --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…utowarefoundation#7096) * add geometry utility test code * style(pre-commit): autofix * fix scope and declare * change declare name * style(pre-commit): autofix --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…7096) * add geometry utility test code * style(pre-commit): autofix * fix scope and declare * change declare name * style(pre-commit): autofix --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Description
Add unit test for below in image_projection_basef_fusion package
objectToVertices
boundingBoxToVertices
cylinderToVertices
transformPoints
is_inside
sanitizeROI
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.
After all checkboxes are checked, anyone who has write access can merge the PR.