More info on 0x141

This commit is contained in:
Timur Iskhodzhanov 2020-09-09 00:18:40 -07:00
parent 267a82a032
commit cba81931e2
1 changed files with 3 additions and 2 deletions

View File

@ -79,8 +79,9 @@ Update frequency: 100 times per second.
Channel name | Equation | Notes
------------ | -------- | -----
Accelerator pedal position? | `bytesToIntLe(raw, 0, 2)` | Follows `A` from `0x140` closely with ~9860 for 0% and ~11625 for 42%. Needs more testing.
Throttle position? | `bytesToIntLe(raw, 2, 2)` | Follows the accelerator pedal position with some smoothness, but is independent at idle revs, and when inching in traffic by modulating the clutch. Scale is unknown.
??? | `bytesToIntLe(raw, 4, 2)` | Goes up on acceleration, jumps down when coasting. Might be intake pressure, fuel pressure, etc.
Throttle position? | `bytesToIntLe(raw, 2, 2)` | Follows the accelerator pedal position with some extra smoothness. Independent at idle revs, and you can see it changing in response to modulating the clutch in stop and go traffic. Scale is unknown.
Engine RPM? | `E + (F & 0x3f) * 256`
??? | `F & 0xc0`
Gear | `(G & 0xF) * (1 - (min(G & 0xF, 7)) / 7)` | It's basically just `G & 0xF` but neutral is reported as `7`, hence the complex math to turn it into a 0. The reverse gear is reported as `1`. The value can be wrong when the clutch pedal is depressed.
??? | `G & 0xF0` | I saw values of 128, 160, 192 here.
??? | `H` | Equals to 16 when I lift off the accelerator, then turns to 8, then 0.