-
Notifications
You must be signed in to change notification settings - Fork 665
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: update trafficlight roi styling #6985
Conversation
Signed-off-by: KhalilSelyan <[email protected]>
Signed-off-by: KhalilSelyan <[email protected]>
Signed-off-by: KhalilSelyan <[email protected]>
Signed-off-by: KhalilSelyan <[email protected]>
Signed-off-by: KhalilSelyan <[email protected]>
@KhalilSelyan Can you share a screenshot of what the visualization will look like, it might be nice to have it in the README. |
perception/traffic_light_visualization/src/traffic_light_roi_visualizer/shape_draw.cpp
Show resolved
Hide resolved
these are all the shapes would be drawn on top of the rectangle, and the probability would be on the side and out of 100 instead of 0.xxxxx |
Signed-off-by: KhalilSelyan <[email protected]>
Signed-off-by: KhalilSelyan <[email protected]>
Signed-off-by: KhalilSelyan <[email protected]>
Signed-off-by: KhalilSelyan <[email protected]>
@xmfcx I made the update as requested, using the icons instead of cv draw |
Signed-off-by: KhalilSelyan <[email protected]>
Signed-off-by: KhalilSelyan <[email protected]>
@xmfcx Other shapes for reference |
The text is not readable, could you make it larger? Also the text box should be connected to the bounding box rectangle. |
perception/traffic_light_visualization/src/traffic_light_roi_visualizer/nodelet.cpp
Outdated
Show resolved
Hide resolved
…ic light labels Signed-off-by: KhalilSelyan <[email protected]>
@xmfcx is it better with thicker or less thick text (i think thicker) |
…ont style Signed-off-by: KhalilSelyan <[email protected]>
perception/traffic_light_visualization/src/traffic_light_roi_visualizer/shape_draw.cpp
Outdated
Show resolved
Hide resolved
Yes, thicker is better 👍 The filled label box should be adjacent but not under the detection box. Unknown box should follow the same style, ? part should be in the filled box. The filled box should be as wide as needed, currently it has a fixed width. Once applying these changes, could you also show it with the other symbols too? |
@xmfcx i did all the necessary changes, you might notice the % text has extra padding on the right, i reduced it in the "x" sign, you can let me know if you think its better with the extra padding or without and we keep whichever version of them |
Signed-off-by: KhalilSelyan <[email protected]>
Signed-off-by: KhalilSelyan <[email protected]>
… unknown Signed-off-by: KhalilSelyan <[email protected]>
It's better without the padding. Could you increase the font and symbol sizes a bit? Some are not legible. Also |
@xmfcx pushed the font scale from 0.7 to 0.75 font hershey plain with same scale looks terrible sadly much less readable Also just upped the size of the symbol as well it would look like this |
Signed-off-by: KhalilSelyan <[email protected]>
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
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
@xmfcx Hi, would you check this PR? Your review request is being a blocker. |
Signed-off-by: KhalilSelyan <[email protected]>
Signed-off-by: KhalilSelyan <[email protected]> Signed-off-by: palas21 <[email protected]>
Signed-off-by: KhalilSelyan <[email protected]>
Signed-off-by: KhalilSelyan <[email protected]>
Description
This PR introduces several enhancements to the traffic light ROI visualization in RViz to improve its accuracy and usability. Key changes include fixing the ROI colors to better match real-world traffic lights, replacing textual overlays with intuitive graphical shapes that represent the traffic light status, and adjusting the positioning and sizing of the probability of detection display. These updates aim to provide a cleaner, more informative visualization that aids users in better decision-making and data analysis.
Effects on System Behavior
These changes are visual and configurational; they do not affect the underlying system behavior of RViz or the traffic light detection functionalities. The visual enhancements are designed to improve user interaction without impacting system performance.
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.