Has anyone played with acceleromter functionality where they try detect a swing of something like a golf club. Not looking for stroke analysis, just that a swing occurred. Better yet if it can detect the difference between a practice swing and actually striking a ball. I'm guessing numerous sports would have similar results.
I have a golf app and it'd be really nice to detect the swing automatically. Way too easy to forget to push the button that indicates I just swung. I use this to automatically tell me how far I've hit.
I've just started playing with this and created a simple app that just graphs the the three axis of the accel object but have had a chance to analyze it yet. I'm graphing a 10 second section and grabbing the data accel data 10 times a second.
I'm curious if I'll be able to get away with looking at the magnitude of any accelerations or if I have to be smarter about pattern recognition. False positives aren't that big a deal.
If anyone has tried something similar and has any tips, I'd greatly appreciate it.