Galaxy Nexus 點解有氣壓計?

Galaxy Nexus Barometer

Galaxy Nexus 除了有電子羅盤,光感應等感應器外,亦有氣壓計(Barometer)!為什麼在 Galaxy Nexus 加入氣壓計呢?用來測天氣?Android 工程師 Dan Morrill 在 Google+ 講解了當中的原因。

加快 GPS 定位
Dan Morrill 表示氣壓計是用來協助 GPS 進行定位,並作了一些簡單解釋。進行衞星定位,主要是透過三維空間(經度,緯度和海拔高度)和時間作計算。透過發射站位置利用 aGPS 就可以加快有關定位。而氣壓計就根據大氣氣壓推斷出海拔高度,從以加快了定位的計算。

The 3 dimensions in space are latitude, longitude… and altitude. The barometer gives you a reasonable first-cut estimate for altitude. This gives you a bit of a leg up on one of the dimensions — especially combined with “2D” aGPS — which can help speed up lock-on in general.

資料來源:Dan Morrill

發佈留言