2
« Last post by wz2b on February 22, 2026, 08:10:56 am »
Hi all,
I’m collecting some before/after data on body roll prior to doing suspension upgrades on my 2024 WRX. I noticed that OBDLink (Android) exposes software parameters for “Pitch” and “Roll,” and I’m trying to understand how those are calculated.
I’m trying to determine whether these values are stable enough for steady-state cornering analysis, or if I should log raw accel/gyro data and do the fusion myself.
At first glance it seems like you’d just use the phone’s gyros, but that wouldn’t be sufficient by itself since gyros drift over time. To estimate absolute pitch/roll correctly you typically need sensor fusion — combining accelerometer data (gravity vector) with gyro data (angular rate), possibly with some filtering (Kalman/complementary filter, etc.).
So I’m wondering:
Are the Pitch/Roll values computed by the OBDLink app itself?
Or are they coming directly from Android’s orientation APIs?
Is this purely phone-based sensor fusion, or is there any additional hardware involved?
Does OBDLink document how these angles are derived (e.g., filtered accel + gyro fusion, gravity vector estimation, etc.)?
I’m using a Pixel 10, so there’s no external IMU besides what’s in the phone. I assume the values are synthesized from the phone’s x/y/z accelerometer and gyro data, but I’d like to confirm before I base any analysis on them.
Any insight would be appreciated.