Fix scale for "Brake pressure"

This commit is contained in:
Timur Iskhodzhanov 2021-07-11 23:47:54 -07:00
parent b605639f16
commit 121001875b
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ all other channels.
Channel name | CAN ID | Equation | Notes
------------ | --- | -------- | -----
Brake pressure | 209 | `C * 100` | Not sure about the units / multiplier yet.
Brake pressure | 209 | `C * 128` |
Clutch position | 320 | `B & 0x80 / 1.28` | Only 0% and "not 0%", unfortunately.
Gear | 321 | `(G & 0xf) * (1 - (min(G & 0xf, 7)) / 7)` | Car calculates it based on speed, RPM and clutch position. It's pretty slow. I really doubt it's worth wasting one CAN ID for this channel. It's not that hard to see which gear you're in based on speed and RPM in data.
Throttle position | 320 | `G / 2.55` | This is the throttle *valve*, not pedal.