-
Notifications
You must be signed in to change notification settings - Fork 630
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(tier4_planning_rviz_plugin): add drivable area plugin #2868
feat(tier4_planning_rviz_plugin): add drivable area plugin #2868
Conversation
Signed-off-by: yutaka <purewater0901@gmail.com>
Signed-off-by: yutaka <purewater0901@gmail.com>
rviz_rendering::BillboardLine * left_bound_line_{nullptr}; | ||
rviz_rendering::BillboardLine * right_bound_line_{nullptr}; |
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.
Could you please create it in TRIANGLE instead of BILLBOARD? The billboard would rotate with the viewpoint.
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 your comment, but if I use TRIANGLE I have to compute the angle and orthogonal vectors for changing the width of the line
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.
If it is possible, I would like to use BILLBOARD. (I intentionally use Billboard insteadd of TRIANGLE)
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 do not want to use billboard if it is possible.
Especially, it looks bad with billboard when the viewpoint goes straight to the billboard.
We also avoid the use of billboard for trajectory, path, lane(linestring) and etc., and use triangles.
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.
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.
@yukkysaito I changed it to use triangle
@yukkysaito Is it okay to visualize the drivable area line string on Rviz by default? |
@takayuki5168 I think it's okay 👍 |
Signed-off-by: yutaka <purewater0901@gmail.com>
Signed-off-by: yutaka <purewater0901@gmail.com>
@takayuki5168 I used your base class to extend the visualization class. Could you check the code again? |
Codecov ReportBase: 11.70% // Head: 11.69% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #2868 +/- ##
==========================================
- Coverage 11.70% 11.69% -0.01%
==========================================
Files 1314 1314
Lines 91624 91696 +72
Branches 24489 24489
==========================================
Hits 10726 10726
- Misses 69710 69782 +72
Partials 11188 11188
*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. |
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
…oundation#2868) * feat(tier4_planning_rviz_plugin): add drivable area plugin Signed-off-by: yutaka <purewater0901@gmail.com> * change default size and color Signed-off-by: yutaka <purewater0901@gmail.com> * update Signed-off-by: yutaka <purewater0901@gmail.com> * add drivable area to path Signed-off-by: yutaka <purewater0901@gmail.com> * update Signed-off-by: yutaka <purewater0901@gmail.com> --------- Signed-off-by: yutaka <purewater0901@gmail.com>
…oundation#2868) * feat(tier4_planning_rviz_plugin): add drivable area plugin Signed-off-by: yutaka <purewater0901@gmail.com> * change default size and color Signed-off-by: yutaka <purewater0901@gmail.com> * update Signed-off-by: yutaka <purewater0901@gmail.com> * add drivable area to path Signed-off-by: yutaka <purewater0901@gmail.com> * update Signed-off-by: yutaka <purewater0901@gmail.com> --------- Signed-off-by: yutaka <purewater0901@gmail.com>
Signed-off-by: yutaka purewater0901@gmail.com
Description
Since the drivable area format changes a few months ago, I add a new planning path plugin for visualizing the new drivable area. The image of this new feature can be seen in the following video.
drivable_area_rviz_plugin-2023-02-10_23.00.03.mp4
Related links
Tests performed
PSim
Notes for reviewers
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.