From 29ba98ffa2c581f427ea480f11d11affb45ac978 Mon Sep 17 00:00:00 2001 From: Timur Iskhodzhanov Date: Thu, 27 Aug 2020 23:16:36 -0700 Subject: [PATCH] Minor changes --- can_db/ft86.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/can_db/ft86.md b/can_db/ft86.md index 5a8ad5f..b338b12 100644 --- a/can_db/ft86.md +++ b/can_db/ft86.md @@ -7,7 +7,7 @@ RaceChrono and equations to get the right scale, etc. Update frequency: 50 times per second. -Channel | RaceChrono equation +Channel name | Equation ------- | ------------------- Steering angle | bytesToIntLe(raw, 0, 2) * 0.1 Z rate of rotation | bytesToIntLe(raw, 2, 2) * -0.318309886 @@ -20,7 +20,7 @@ Combined acceleration | sqrt(pow2(bytesToIntLe(raw, 6, 1) * 0.2) + pow2(bytesToI Update frequency: 50 times per second. -Channel | RaceChrono equation | Notes +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. @@ -29,7 +29,7 @@ Brake position | min(C / 0.7, 100) | The third byte is the pressure in the brake Update frequency: 50 times per second. -Channel | RaceChrono equation | Notes +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 @@ -40,21 +40,20 @@ Wheel speed RR | bytesToIntLe(raw, 6, 2) * 0.01569358787 | Use same multiplier a Update frequency: 100 times per second. -Channel | RaceChrono equation | Notes +Channel name | Equation | Notes ------- | ------------------- Accelerator position | A / 2.55 Clutch position | (B & 0x80) / 1.28 | On/off only Engine RPM | C + (D & 63) * 256 -??? | E +??? | byte 4 Throttle position | F / 2.55 | Not tested -??? | G -??? | H +??? | bytes 6, 7 # PID 0x141 Update frequency: 100 times per second. -Channel | RaceChrono equation | Notes +Channel name | Equation | Notes ------- | ------------------- Gear | G & 0xF | Not tested much. The value seems to jump so much that the usefulness is questionable. @@ -65,7 +64,7 @@ interesting info there. Update frequency: 20 times per second. -Channel | RaceChrono equation +Channel name | Equation ------- | ------------------- Engine oil temperature | C - 40 Coolant temperature | D - 40