More minor fixes
This commit is contained in:
parent
29ba98ffa2
commit
53a111f36f
|
@ -8,7 +8,7 @@ RaceChrono and equations to get the right scale, etc.
|
|||
Update frequency: 50 times per second.
|
||||
|
||||
Channel name | Equation
|
||||
------- | -------------------
|
||||
------------ | --------
|
||||
Steering angle | bytesToIntLe(raw, 0, 2) * 0.1
|
||||
Z rate of rotation | bytesToIntLe(raw, 2, 2) * -0.318309886
|
||||
??? | bytes 4, 5
|
||||
|
@ -21,7 +21,7 @@ Combined acceleration | sqrt(pow2(bytesToIntLe(raw, 6, 1) * 0.2) + pow2(bytesToI
|
|||
Update frequency: 50 times per second.
|
||||
|
||||
Channel name | Equation | Notes
|
||||
------- | ------------------- | -----
|
||||
------------ | -------- | -----
|
||||
Speed | bytesToIntLe(raw, 0, 2) * 0.01569358787 | May want to check the multiplier against an external GPS device
|
||||
Brake position | min(C / 0.7, 100) | The third byte is the pressure in the brake system, in Bars. The 0.7 divider seems to be a good value to get 100% at pressure slightly higher than those you're likely to use on the track for cars with no aero. You can use 0.8 or 0.9 if you see 100% too often.
|
||||
|
||||
|
@ -30,7 +30,7 @@ Brake position | min(C / 0.7, 100) | The third byte is the pressure in the brake
|
|||
Update frequency: 50 times per second.
|
||||
|
||||
Channel name | Equation | Notes
|
||||
------- | ------------------- | -----
|
||||
------------ | -------- | -----
|
||||
Wheel speed FL | bytesToIntLe(raw, 0, 2) * 0.01569358787 | Use same multiplier as for speed in 0xD1
|
||||
Wheel speed FR | bytesToIntLe(raw, 2, 2) * 0.01569358787 | Use same multiplier as for speed in 0xD1
|
||||
Wheel speed RL | bytesToIntLe(raw, 4, 2) * 0.01569358787 | Use same multiplier as for speed in 0xD1
|
||||
|
@ -41,7 +41,7 @@ Wheel speed RR | bytesToIntLe(raw, 6, 2) * 0.01569358787 | Use same multiplier a
|
|||
Update frequency: 100 times per second.
|
||||
|
||||
Channel name | Equation | Notes
|
||||
------- | -------------------
|
||||
------------ | -------- | -----
|
||||
Accelerator position | A / 2.55
|
||||
Clutch position | (B & 0x80) / 1.28 | On/off only
|
||||
Engine RPM | C + (D & 63) * 256
|
||||
|
@ -54,7 +54,7 @@ Throttle position | F / 2.55 | Not tested
|
|||
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
|
||||
|
@ -65,6 +65,6 @@ interesting info there.
|
|||
Update frequency: 20 times per second.
|
||||
|
||||
Channel name | Equation
|
||||
------- | -------------------
|
||||
------------ | --------
|
||||
Engine oil temperature | C - 40
|
||||
Coolant temperature | D - 40
|
||||
|
|
Loading…
Reference in New Issue