Quote:
Originally Posted by dmglakewood You can get the xyz coordinates from the accelerometer. This app is totally possible, it would just require a lot of math functions. |
I highly doubt there is a 3 axis accelerometer in the unit. Do you have proof somewhere (read: a credible reference) that they are using a 3axis module? Next piece of information would be the resolution and sample rate that the part is capable of.
I should also state that the accelerometer won't give you X,Y,Z cords. It gives you positional information by telling you the magnitude of gravity in three fixed known directions (if its a 3axis unit). I'm betting that the unit in the Storm only tells you gravity in 2 dimensions. Which is how it determines orientation. Which ever dimension has a larger gravity vector the phone can assume to be pointing down (toward the earth). This is why the phone has a hard time when its tilted at an angle as a large portion of your vector is biased into the Z vector. The software is probably written in such a way that when that happens it doesn't meet the thresholds required to rotate in their algorithm. If they had a 3axis unit they could make that much more responsive even while tilted in the Z direction.
Honestly the math part isn't really that hard. Its just applied sophomore level calculus. But you would still want the storm at the end of the club so that it could get the maximum swing distance and therefore better accuracy and less loss due to resolution.