View Single Post
Old 07-30-2009, 02:18 PM   #14
UCF w00t
Geek
 
UCF w00t's Avatar
 
Drives: IOM 2010 Camaro 2SS
Join Date: Oct 2008
Location: Orlando
Posts: 4,451
So this is unrelated but the math/physics talk reminded me.

In college I thought I'd never use any of it. I was wrong, sorta.

I'm working on an app for Windows Mobile phones to do 0-60times, etc. All the ones out now suck. The accelerometer gives it's output in m/s2 acceleration. GPS isn't accurate enough to use for speed. So I was in the shower and it hit me... the area under the curve!!! Just take a derivative stupid! That should, in theory, give me the current velocity and I could even take another derivative to get the current position. Obviously in practice it's not actually taking a derivative as I'm not exactly given an equation but that's the principle it's using. Now I just need to figure out if the accelerometer's error will be small enough and I can get it accurate enough. Might have to do some interesting math to get an average or something and interpolate it.

So to all you kids out there, you might actually use this stuff one day
UCF w00t is offline   Reply With Quote