use accelerometer data instead of gyro