diff --git a/can_db/ft86.md b/can_db/ft86.md index 11f6784..dbb9195 100644 --- a/can_db/ft86.md +++ b/can_db/ft86.md @@ -7,14 +7,14 @@ 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 -Lateral acceleration | bytesToIntLe(raw, 6, 1) * 0.2 -Longitudinal acceleration | bytesToIntLe(raw, 7, 1) * -0.1 -Combined acceleration | sqrt(pow2(bytesToIntLe(raw, 6, 1) * 0.2) + pow2(bytesToIntLe(raw, 7, 1) * 0.1)) +Channel name | Equation | Notes +------------ | -------- | ----- +Steering angle | bytesToIntLe(raw, 0, 2) * 0.1 | +Z rate of rotation | bytesToIntLe(raw, 2, 2) * -0.318309886 | The multiplier is 1/pi, but maybe should be 0.9 / pi +??? | bytes 4, 5 | +Lateral acceleration | bytesToIntLe(raw, 6, 1) * 0.2 | Not 100% sure about the multiplier, but looks about right +Longitudinal acceleration | bytesToIntLe(raw, 7, 1) * -0.1 | Not 100% sure about the multiplier, but looks about right +Combined acceleration | sqrt(pow2(bytesToIntLe(raw, 6, 1) * 0.2) + pow2(bytesToIntLe(raw, 7, 1) * 0.1)) | ## PID 0xD1