iphone accelerometer speed and distance
I want to find distance traveled and velocity from accelerometer events. Like iphone's gMeter application is doing. Any suggestion, by which value or formula I should use for that? Thanks in advance. You can use the acceleration values from the accelerometer to measure the velocity and distance. There is really good paper ( Implementing Positioning Algorithms Using Accelerometers ) which explains the errors you get from the accelerometer and the techniques to get the velocity and position from the acceleration values. Some pseudo code: velocity[i] = (acceleration[i] + acceleration[i-1])/2 *