Do a pedometer. . To use the acceleration sensor, github where there are code, next, can be used. There are several points that do not understand. .
- (Void) accelerometer: (UIAccelerometer *) accelerometer didAccelerate: (UIAcceleration *) acceleration
Then obtains acceleration.x. Y. Z, the x, y, z is meaningless single Mody? General use are sqrt (x * x + y * y + z * z), and then I saw they were doing compared with this result. And a comparison or comparison with other figures. . Then this figure specifically what is it? ? Is one a try out what?
There is, online pedometer can be used, but they are not very accurate, I have to do an accurate point, then, what algorithm it? ? Seemingly found not to. Great God seeking advice
No comments:
Post a Comment