-
Notifications
You must be signed in to change notification settings - Fork 75
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
Positive throttle in reverse direction triggers regen brake light output #114
Comments
Line 536 in stm32_vcu.cpp turns torquePercent negative when in reverse. |
#115 Pull request to fix, have not been able to test this on actual car. Logic checks out in terms of the resulting signed value for comparison. |
Testing with Outlander inverter firmware 2.20TM, no brake lights on reverse throttle but now brake lights in drive upon positive throttle. Parameters attached, from 2.17A but only Shunt parameter had to changed when updating to 2.20TM. Reverse motor is active in this setup.
|
Logic should now work with motorrev set. Needs verifying: |
Release 2.20A should fix this. |
When in reverse direction, positive throttle above RegenBrakeLight value triggers the brake light function.
Unmodified firmware 2.17.A
params Regen light in rev.json
The text was updated successfully, but these errors were encountered: