3 ms·
I haven't done any iPhone development, but can't the GPS sample rate be overridden in software? I know it can on Android -- My Tracks will let you tweak the sa
by Niten 16y ago
I haven't done any iPhone development, but can't the GPS sample rate be overridden in software? I know it can on Android -- My Tracks will let you tweak the sample rate if you want, for example.
- cheald 16y agoI'm not an iPhone developer either, but I can't find anything in the docs that would seem to allow you to set a sampling rate. What you do is tell the OS that you want location data, and give it a desired accuracy (AccuracyBestForNavigation, AccuracyBest, AccuracyNearestTenMeters, AccuracyHundredMeters, AccuracyKilometer, AccuracyThreeKilometers) and the OS decides when to give you updates. It could be that Motion-X isn't using an appropriate resolution, but I'm somewhat dubious that that's the case, given its intended purpose would need sampling at more than a 30-foot resolution. Relevant docs: http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/LocationAwarenessPG/CoreLocation/CoreLocation.html#//apple_ref/doc/uid/TP40009497-CH2-SW1 http://developer.apple.com/iphone/library/documentation/User...