-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
lightbar footpad sensor VISUAL indications not working on 2.4.1 up to 2.5.4 #88
Comments
Could you please give me some details? What isn't working? 20231210_112941.mp4 |
Yeah its wierd. The startup sequence and battery indication work fine. But the footpad sensor indicatior did not show on the lightbar. Only when I downgraded to the stated version nr. did it work again for me. Do you need further info?Am 10.12.2023 10:34 schrieb ThankTheMaker ***@***.***>:
Could you please give me some details? What isn't working?
I just tested 2.5.4 with my board and indicators seem to work.
https://github.com/thankthemaker/rESCue/assets/33477197/cae385dd-faef-42c1-b84c-a188a6ac5178
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Here is a short video. Apparently it's hard to replicate the behaviour when switching firmware versions. Could it be that the eeprom settings are somehow retained when flashing new firmware? |
Thanks for the video, it makes it much clearer. I'll check it again in the evening. Looks like pushing the left hand side gets recognized like an ADC-FULL while the right hand side is recognized as ADC-HALF, which is correct if only one side is pressed. Maybe you could also check the ADC values and status in VESC tool. Maybe one ADC has too low tresholds or an higher idle value. |
Yes that seems so. I’m on the newest VESC 6.02 and I have the same behavior on the UBOX SINGLE 100V and the Raiden7. I have them wired up via CAN-BUS.
Von: ThankTheMaker ***@***.***>
Gesendet: Donnerstag, 11. Januar 2024 16:40
An: thankthemaker/rESCue ***@***.***>
Cc: guerradr ***@***.***>; Author ***@***.***>
Betreff: Re: [thankthemaker/rESCue] lightbar footpad sensor VISUAL indications not working on 2.4.1 up to 2.5.4 (Issue #88)
Thanks for the video, it makes it much clearer. I'll check it again in the evening. Looks like pushing the left hand side gets recognized like an ADC-FULL while the right hand side is recognized as ADC-HALF, which is correct if only one side is pressed.
—
Reply to this email directly, <#88 (comment)> view it on GitHub, or <https://github.com/notifications/unsubscribe-auth/AE6Y6KNF2EPCETGWIMO5S3DYOABWXAVCNFSM6AAAAABAJ3B3KKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBXGQZTSMRRGA> unsubscribe.
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AE6Y6KNSRNTQ4F2LGPUPZK3YOABWXA5CNFSM6AAAAABAJ3B3KKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTQQAEWU.gif> Message ID: < ***@***.***> ***@***.***>
|
Did you find some time to check the values in VESC tool? I tried to reproduce the behavior but wasn't successful. I still think something is wrong with your sensor / wiring. |
Hi, the settings are fine in the VESC Tool. You can also see in the video that the board only activates when pressing both footpad sides down. I see the same behaviour on both of my boards (UBOX Single with rESCue light and Raiden 7 with rESCue s3). There is not much I can do wrong with my wiring since I'm can bus only and i have connection via VESC Phone App. Since I had different behaviours and indications when swapping between rESCue Software Versions - are there any setting values retained in the eeprom when flashing? |
Sorry for asking again. Could yous check which state is shown in VESC tool when pressing the pads? |
I meant the footpad indicator configuration. When I use the rESCue App I sometimes had to save the config two or three times to have the whole configuration saved on the esp32. Thus seeing different behaviours between the saved configs. I used different phones to check if my app had a problem. |
Thanks for the video. You're right. The behaviour in VESC tool looks as it should. |
Hi guys! I had exactly same situation and after checking the logs I saw "Unknown switch state" log. The cause was that in vescData.switchState the value was 3 for fully activated footpads. After logging switchState and comparing output from VESC tool I got following relations:
But I'm not sure about old versions of VESC firmwares and whether 4th value (0,1,2,3) of switchState was added recently. UPD: Oh... I missed this switch statement in CanBus.cpp, so we receive 3 not from VESC but from this place: |
Hardware-Version: v3.1 (old board biggest one)
the lightbar footpad sensor VISUAL indications are not working on firmware versions 2.4.1 and up to 2.5.4
I reverted back to 2.3.3 and then they work.
The text was updated successfully, but these errors were encountered: