Add "combined acceleration" to equations for FT86 gen2 cars

This commit is contained in:
Timur Iskhodzhanov 2022-07-05 23:58:36 -07:00
parent 42c3dbe0ac
commit d01163b610
1 changed files with 1 additions and 0 deletions

View File

@ -44,3 +44,4 @@ Channel name | CAN ID | Equation | Notes
Yaw rate | 312 | `bytesToIntLe(raw, 4, 2) * -0.2725` | Calibrated against the gyroscope in RaceBox Mini. Gen1 used 0.286478897 instead.
Lateral acceleration | 315 | `bytesToIntLe(raw, 6, 1) * 0.2` |
Longitudinal acceleration | 315 | `bytesToIntLe(raw, 7, 1) * -0.1` |
Combined acceleration | 315 | `sqrt(pow2(bytesToIntLe(raw, 6, 1) * 0.2) + pow2(bytesToIntLe(raw, 7, 1) * 0.1))` |