Add more data on PID 0x141

This commit is contained in:
Timur Iskhodzhanov 2020-09-08 23:56:44 -07:00
parent b92002a12d
commit b434026a4c
1 changed files with 6 additions and 4 deletions

View File

@ -77,10 +77,12 @@ Update frequency: 100 times per second.
Channel name | Equation | Notes
------------ | -------- | -----
Gear | G & 0xF | Not tested much. The value seems to jump so much that the usefulness is questionable.
Given how frequently 0x141 messages are sent, I presume there's a lot more
interesting info there.
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.
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.
## PID 0x360