-
Notifications
You must be signed in to change notification settings - Fork 682
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_auto_perception_rviz_plugin): improve rviz performance #2780
feat(autoware_auto_perception_rviz_plugin): improve rviz performance #2780
Conversation
Codecov ReportBase: 11.63% // Head: 11.60% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #2780 +/- ##
==========================================
- Coverage 11.63% 11.60% -0.03%
==========================================
Files 1317 1317
Lines 91819 92029 +210
Branches 24371 24371
==========================================
Hits 10679 10679
- Misses 69990 70200 +210
Partials 11150 11150
*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. |
@yukkysaito |
common/autoware_auto_perception_rviz_plugin/src/object_detection/object_polygon_detail.cpp
Outdated
Show resolved
Hide resolved
@lexavtanke Thank you for PR 👍 I reviewed the code |
common/autoware_auto_perception_rviz_plugin/src/object_detection/object_polygon_detail.cpp
Outdated
Show resolved
Hide resolved
common/autoware_auto_perception_rviz_plugin/src/object_detection/object_polygon_detail.cpp
Outdated
Show resolved
Hide resolved
common/autoware_auto_perception_rviz_plugin/src/object_detection/object_polygon_detail.cpp
Outdated
Show resolved
Hide resolved
…etected objects Signed-off-by: Alexey Panferov <lexavtanke@gmail.com>
…working Signed-off-by: Alexey Panferov <lexavtanke@gmail.com>
Signed-off-by: Alexey Panferov <lexavtanke@gmail.com>
Signed-off-by: Alexey Panferov <lexavtanke@gmail.com>
Signed-off-by: Alexey Panferov <lexavtanke@gmail.com>
Signed-off-by: Alexey Panferov <lexavtanke@gmail.com>
…aunch and revert testing modification. Signed-off-by: Alexey Panferov <lexavtanke@gmail.com>
7e04b4c
to
b219830
Compare
Signed-off-by: Alexey Panferov <lexavtanke@gmail.com>
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
…utowarefoundation#2780) * add choose box element to control type of visualization polygon for detected objects Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * WIP: add switching logic and defininition for 2d poligons functions, working Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * add function for making 2d polygon from cylinder shape Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * add code to make 2d polygones from unknown objects Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * wip, add creation of milty dummy objects by one click Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * modificate empty_objects_publisher for testing purpose Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * feat/2d_obj_rviz: cleaning for pull request. Remove dummy_empty_obj.launch and revert testing modification. Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * feat/2d-obj-rviz refactor, update names of functions to more meaningfull, remove unnecessary code which was drawing additional lines on circle, remove TODO Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * style(pre-commit): autofix * feat/2d-obj-rviz correct spelling mistakes Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> --------- Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat(autoware_auto_perception_rviz_plugin): improve rviz performance (autowarefoundation#2780) * add choose box element to control type of visualization polygon for detected objects Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * WIP: add switching logic and defininition for 2d poligons functions, working Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * add function for making 2d polygon from cylinder shape Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * add code to make 2d polygones from unknown objects Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * wip, add creation of milty dummy objects by one click Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * modificate empty_objects_publisher for testing purpose Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * feat/2d_obj_rviz: cleaning for pull request. Remove dummy_empty_obj.launch and revert testing modification. Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * feat/2d-obj-rviz refactor, update names of functions to more meaningfull, remove unnecessary code which was drawing additional lines on circle, remove TODO Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * style(pre-commit): autofix * feat/2d-obj-rviz correct spelling mistakes Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> --------- Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * feat(autoware_auto_perception_rviz_plugin): add simple visualize mode (autowarefoundation#2814) * feat(autoware_auto_perception_rviz_plugin): add simple visualize mode Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix typo Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> --------- Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> --------- Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Co-authored-by: Alexey Panferov <37497658+lexavtanke@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…utowarefoundation#2780) * add choose box element to control type of visualization polygon for detected objects Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * WIP: add switching logic and defininition for 2d poligons functions, working Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * add function for making 2d polygon from cylinder shape Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * add code to make 2d polygones from unknown objects Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * wip, add creation of milty dummy objects by one click Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * modificate empty_objects_publisher for testing purpose Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * feat/2d_obj_rviz: cleaning for pull request. Remove dummy_empty_obj.launch and revert testing modification. Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * feat/2d-obj-rviz refactor, update names of functions to more meaningfull, remove unnecessary code which was drawing additional lines on circle, remove TODO Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> * style(pre-commit): autofix * feat/2d-obj-rviz correct spelling mistakes Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> --------- Signed-off-by: Alexey Panferov <lexavtanke@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Description
This PR add ability to choose between different types of DetectedObjects visualization: 3d polygon, 2d polygon, no polygon.
Here is video showing this.
There is also small performance improvement with big amount of objects (1-2 fps).
Here are 250 detected objects.
Here are 500.
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.