You can get integration time while driving. You combine accelerometer and gyroscope data to cancel out movement effects.