Vertical accelerometer component

Former Member
Former Member

I can get the accelerometer data (x,y,z) but I need to find the vertical component... Any ideas? I think I would need to get the gyroscope info to get the vertical projection of the accel data, but I didn't find a way to access the gyro.