Hello guys,

Here's the deal, I need to get the position of my device in a virtual
coordinate system, let me explain.
In the beginning of the app, it will calibrate the device, which is
set the virtual coordinates x, y and z with 0.
As the device is moved, I need to update it's location in the virtual
coordinate system. I tried to do it using the accelerometer, trying
to, based in acceleration and time, calculate how much the device
moved in each axis, and then, using this value, get the new location
of the device in this other coordination system. But I'm not being
very successful. I tried to use the formula S = So + Vo t + at²/2 but
it really doesn't work quite well.
Do you have any suggestion in how I can accomplish this?

Thnks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to