First of all, as I am new in this very corner of stack exchange please help me by selecting the correct tags!
I'm interested in finding an alorithm, that estimates wether a phone is picked up from the center console by a driver or by his co-driver. For simplicity we can assume that the device is an iPhone an has all the usual sensors like gyro, accelerometer, magnetometer and - maybe most importantly, that we know the direction of travel (in the form of a three dimensional vector expressed in the coordinate system of the phones accelerometer).
Ideally the algorithm would work regardless of the initial orientation of the phone (facing up/down, ...)
My background is in theoretical mathematics - so the actual "estimating" part would not be hard for me to formulate, by I'm having problems wrapping my head around the question wether or not such a motion is even disinguishable...
Any thoughts or hints would be greatly appreciated.
Thanks and all the best, Dennis
Edit: Maybe to elaborate where my thoughts are: One actually has a sense of "to the left" and "to the right" in the frame of the car due to knowing where the car is going toward. That has to be worth something, hasn't it?