-
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: add parameter for holding last detected traffic-signal color #3874
feat: add parameter for holding last detected traffic-signal color #3874
Conversation
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #3874 +/- ##
==========================================
- Coverage 14.11% 14.11% -0.01%
==========================================
Files 1444 1444
Lines 101928 101933 +5
Branches 27197 27197
==========================================
Hits 14387 14387
- Misses 71774 71779 +5
Partials 15767 15767
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
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!
@satoshi-ota Could you review this? |
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
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…utowarefoundation#3874) * feat: add parameter for holding last detected traffic-signal color Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix: apply pre-commit Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> --------- Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Description
The crosswalk module in behavior_velocity uses the pedestrian signal color estimated by crosswalk_traffic_light_estimator.
In the current implementation, the signal for vehicular traffic may be out of the angle of view of the camera and the pedestrian signal becomes not to be estimated before passing the crosswalk, and it causes a sudden stop at the crosswalk.
This PR improves the above issue by holding the traffic signal color for a short time.
Screencast.from.2023.05.26.13.45.16.webm
Related links
Tests performed
I tested using rosbag.
Notes for reviewers
none
Interface changes
none
Effects on system behavior
The issue of sudden stops at crosswalks will be improved
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.