LocationKit - GPS 101
-
Upload
victor-quinn -
Category
Engineering
-
view
181 -
download
2
Transcript of LocationKit - GPS 101
![Page 1: LocationKit - GPS 101](https://reader031.fdocuments.in/reader031/viewer/2022030303/587c11431a28ab03768b69dd/html5/thumbnails/1.jpg)
by
GPS 101October 2, 2015
Victor Quinn, VP of Engineering
![Page 2: LocationKit - GPS 101](https://reader031.fdocuments.in/reader031/viewer/2022030303/587c11431a28ab03768b69dd/html5/thumbnails/2.jpg)
GPS 101
• Time to first fix
• Assisted GPS
• Estimated Accuracy
• Location Point
• Environmental Factors
• Raw GPS data is alarmingly poor
• LocationKit
![Page 3: LocationKit - GPS 101](https://reader031.fdocuments.in/reader031/viewer/2022030303/587c11431a28ab03768b69dd/html5/thumbnails/3.jpg)
Time to first fix
• In the GPS world, this is the time to first figure out where the device is in the world
• With old school/traditional GPS devices, this often takes 30s or more
• Surely we can do better…
![Page 4: LocationKit - GPS 101](https://reader031.fdocuments.in/reader031/viewer/2022030303/587c11431a28ab03768b69dd/html5/thumbnails/4.jpg)
Assisted GPS
• Standard for Smartphones
• Uses local intelligence (cell towers, wifi, bluetooth, etc.) to help quickly get device location, shortening time to first fix
• While in parallel spinning up the GPS chip to get a solid lock
![Page 5: LocationKit - GPS 101](https://reader031.fdocuments.in/reader031/viewer/2022030303/587c11431a28ab03768b69dd/html5/thumbnails/5.jpg)
Assisted GPS• In the background, Apple
uses cell tower triangulation, knowledge of wifi networks, etc. to “assist” and get your location quickly
• But that first location before a GPS lock is not terribly accurate
![Page 6: LocationKit - GPS 101](https://reader031.fdocuments.in/reader031/viewer/2022030303/587c11431a28ab03768b69dd/html5/thumbnails/6.jpg)
Estimated Accuracy• Since the accuracy varies widely, Apple and
Google both provide a measure of the accuracy of the points they provide
• It is a quantity, in meters, of the margin of error of the location points
• For Google it is the radius of the confidence of the point being within one standard deviation. For Apple it’s likely the same (though they’re less forthcoming in their docs)
![Page 7: LocationKit - GPS 101](https://reader031.fdocuments.in/reader031/viewer/2022030303/587c11431a28ab03768b69dd/html5/thumbnails/7.jpg)
Location Point• Latitude/Longitude
• Accuracy
• Horizontal
• Vertical
• Altitude
• Bearing or Course
• Speed
• Time
• Reference
• Google Location
• Apple CLLocation
![Page 8: LocationKit - GPS 101](https://reader031.fdocuments.in/reader031/viewer/2022030303/587c11431a28ab03768b69dd/html5/thumbnails/8.jpg)
Environmental Factors• Buildings — GPS signal indoors is
very poor, buildings reflect GPS signal
• Weather — On cloudy, rainy days (like today here in DC) the GPS signal is noticeably worse
• Time of Day — Orbit of one satellite takes 12 hours
• Accuracy of clock — GPS requires sub-millisecond clock accuracy
• Device — We notice differences in accuracy from one device to another. Could be chip manufacturing inconsistencies or antenna, not entirely sure
• Motion — Whether device is still or moving
• Atmosphere — Ionospheric distortion
![Page 9: LocationKit - GPS 101](https://reader031.fdocuments.in/reader031/viewer/2022030303/587c11431a28ab03768b69dd/html5/thumbnails/9.jpg)
Raw GPS is alarmingly poor
• Video
![Page 10: LocationKit - GPS 101](https://reader031.fdocuments.in/reader031/viewer/2022030303/587c11431a28ab03768b69dd/html5/thumbnails/10.jpg)
LocationKit
• We built LocationKit and baked in all our expertise on the subject so you don’t have to think about it
• We’re able to take that crappy raw GPS and make it useful to developers
![Page 11: LocationKit - GPS 101](https://reader031.fdocuments.in/reader031/viewer/2022030303/587c11431a28ab03768b69dd/html5/thumbnails/11.jpg)
GPS 101
• Time to first fix
• Assisted GPS
• Estimated Accuracy
• Location Point
• Environmental Factors
• Raw GPS data is alarmingly poor
• LocationKit
![Page 12: LocationKit - GPS 101](https://reader031.fdocuments.in/reader031/viewer/2022030303/587c11431a28ab03768b69dd/html5/thumbnails/12.jpg)
Questions?