Skip to content
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

Incorrect behavior of comfort blink on E39 (non-nav MID) #32

Closed
vgergiev opened this issue Sep 8, 2020 · 5 comments
Closed

Incorrect behavior of comfort blink on E39 (non-nav MID) #32

vgergiev opened this issue Sep 8, 2020 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@vgergiev
Copy link

vgergiev commented Sep 8, 2020

When Blink Option is enabled (options 3 or 5) it can glitch when user is quickly switching turn lights. Issue is not reproducing when Blink Option = 1.

Steps:

  1. Turn on left blink
  2. Immediately, while first blink is still on switch to the right blink.
  3. Immediately, while first blink of right turn is on turn off blinking.
  4. Turn on left blink

Actual result:
Left turn is blinking even when turn stick is in the middle position (at the rest).
Enabling left turn is not affecting this behavior. Only right turn can disable this blinking.

Expected behavior:
Turn signals are working as designed :D

Video 1: https://drive.google.com/file/d/11C5rW3stquAbVVfyfi1S8gaNT3GlSkAX/view?usp=sharing
Video 2: https://drive.google.com/file/d/1osLPaM-Q1jd5DugnLn4fnRuG27WQ9Qu_/view?usp=sharing

@0x200h
Copy link

0x200h commented Sep 8, 2020

Also had this problem happen to me last week - though I thought it was the same cause as a previous problem I had when the gold plate inside the stalk had been scraped between the two contacts causing conductivity - it went away after I indicated right - which didn't happen with the gold plate problem

@harryberlin
Copy link

handling of turnsignal is a bit tricky. one point, you should consider the hazard lights too.

@tedsalmon tedsalmon self-assigned this Sep 9, 2020
@tedsalmon tedsalmon added the bug Something isn't working label Sep 9, 2020
@tedsalmon
Copy link
Owner

There is a lot of logic lacking around how turn signals work. The bug here is caused by the fact that the second bulb activation places the system in "Off" mode as it receives another diagnostics ACK from the LCM (which is what we expect when terminating diagnostics). The code needs to be abstracted and there needs to be better handling of the diagnostics ACK message.

@tedsalmon
Copy link
Owner

@vgergiev / @0x200h,

This has been resolved in commit 9824bc4 -- Here is a usable binary: https://t3ddftw.s3.us-east-2.amazonaws.com/BlueBus/firmware/bluebus_1_1_15_3.hex

Many thanks to @piersholt for refactoring this functionality and making it way more usable. Please see PR #37 for more :)

Thanks!
-Ted

@piersholt
Copy link
Collaborator

Correction. I made it awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants