-
Notifications
You must be signed in to change notification settings - Fork 703
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_overlay_rviz_plugin)!: removed the blinking function of turn_signal #10319
base: main
Are you sure you want to change the base?
feat(autoware_overlay_rviz_plugin)!: removed the blinking function of turn_signal #10319
Conversation
… turn_signal Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10319 +/- ##
=======================================
Coverage 25.93% 25.93%
=======================================
Files 1383 1383
Lines 106829 106823 -6
Branches 40907 40905 -2
=======================================
Hits 27705 27705
+ Misses 76416 76410 -6
Partials 2708 2708
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@xmfcx |
This could work too but 2 bad things could come out of it as well:
So just an option would help debuggers debug and let actual users get experience they would expect from a real vehicle. |
|
||
std::chrono::steady_clock::time_point last_toggle_time_; | ||
bool blink_on_ = false; | ||
const std::chrono::milliseconds blink_interval_{500}; // Blink interval in milliseconds |
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.
Also when you make the update, please also make this blink interval 250
.
500
means it will blink at 1 Hz.
But it can be up to 2 Hz for most vehicles.
https://www.youtube.com/watch?v=iK2K9e_tcdI
At least in this video, I calculated it to be 180 clicks per minute https://www.beatsperminuteonline.com/ with this site.
Which makes 3 ticks per second, so we can set this blink_interval_ to 333
to make it 1.5Hz
Description
Currently, the display of turn_signal is blinking. However the blinking feature makes difficult to debug planning modules. This PR removes the blinking feature.
before (x3)
blinker_before.mp4
after (x3)
blinker_after.mp4
Related links
Parent Issue:
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.