3 ms·
Intriguing! How frequently does the SDK sample the barometer's readings? Does having the phone in one's pocket affect the perceived atmospheric pressure?
by portmanteaufu 12y ago
Intriguing! How frequently does the SDK sample the barometer's readings? Does having the phone in one's pocket affect the perceived atmospheric pressure?
- cryptoz 12y agoOur SDK default is 10-minute intervals, but some apps choose 1-hour to better fit normal schedules. The pocket problem isn't a big deal, but altitude changes do add noise to our system. The barometers are very elevation-sensitive (see other poster, commenting about flying!), which means that the reading will be different every time you move your phone. There are a number of ways to solve this noise problem - first, merely detecting trends in the data over 6 hours is quite easy and tells us a lot about the atmosphere (is the pressure rising or falling? easy to find out from the noise). Second, getting enough density means we can use statistics to filter out most of the noisy data.