Kartos
Kartos

Reputation: 789

How to obtain accurate accelerometer readings from phone?

I am developing a game and I'm trying to use the accelerometer to detect the amount of push by the user. However, the force applied and the abrupt stopping of the phone imposes an opposite force thus nullifying the applied initial force. How do we refine the accelerometer readings? As of now, I'm getting the readings from an interval of 500 ms to get a delta of the various axis readings but still not able to get a proper solution. Any ideas/examples/suggestions? Thanks.

Upvotes: 1

Views: 311

Answers (1)

ColinE
ColinE

Reputation: 70142

I would suggest you read the Accelerometer article on the Windows Phone Team blog. It covers practical issues such as smoothing accelerometer input:

enter image description here

Upvotes: 1

Related Questions