05-20-2009 06:02 PM
I have an app that reads the Accelerometer 30 times a second and displays the results on the screen. I am just using getLastAccelerationData. Thing is that when I put the Storm on the table, the X value hovers around -108 and the Y around -36. I have tried to smooth this out with a running average but it doesn't do anything.
Is my storm busted or is there some hidden way to calibrate the sensors? I tried the usually battery pull.
05-21-2009 01:09 AM
Working with the accelerometer of a BlackBerry device:
12-31-2010 06:19 AM - edited 12-31-2010 06:25 AM
The link above unfortunately does not help.
The problem is with *calibration* , i.e. in what units is the data returned by getLastAccelerationData() ? If I put the phone flat on the table, shouldn't I get x=0, y=0, z=-9.8m/s^2 ? I am not gettting anything close to a 0 for x...
Oh, I see: http://www.blackberry.com/developers/docs/5.0.0api