I am trying to track changing phone height. The initial phone height can be inputted. I would like to track the height quite precisely (less than +- 10 cm range), and for a prolonged period of time (at least few minutes). Hopefully, I would have height estimates every <100ms. Ideally, the phone should be kept in a pocket, so I don't think camera-related methods could work.
I have tried using the barometer, but it seems too inaccurate and slow. I have also tried numerically integrating the accelerometer data but it seems to work for few seconds max.
I have been playing around with this for a while, I was wondering if there is any better method I did not consider, or if my goal is possible at all. Eg, I could try finding better integration methods for the acceleration. Is my goal feasible?
Added: if I could know WiFi RSSI, combined with acceleration, would they improve precision by much?