Using GPS to find out exactly where we are is one of the more awesome powers of our mobile devices. It also poses some of the toughest challenges to developers, who must prevent excessive battery drain and deal with insufficient accuracy. In this talk we will learn how to face these challenges by answering questions such as: How does GPS even work? Where the heck did my battery go? Why does it take so long to get a good fix? And why does my phone think I’m in the middle of a lake? If you’ve ever wanted to understand how satellite navigation actually works, this is the talk for you. (It also features cold war intrigue, applied relativity theory, and a picture of a dinosaur. So you know it’s going to be good.)
10. 100 million cars have our maps on board.
4 out 5 cars in EU and NA use our maps.
28 Terabyte of map data collected a day.
600.000+ km mapped in HD for autonomous driving.
Fleet of 400+ cars collecting map data.
700.000 3D data points collected per second, per car.
18. We are currently at 40.72819, -73.95747. What does that mean?
Latitude & Longitude
19. Latitude & Longitude
Latitude Longitude
Equator
Prime Meridian
+60
-30
-90 (South)
+90 (North) 180
-120 (West)
+30 (East)
We are currently at 40.72819, -73.95747. What does that mean?
32. 1. Find four satellites
2. Determine their position
3. Determine the distance to each
4. Trilateration! ✔️
How to determine your position using GPS
33. GPS satellites are permanently sending out a signal
Step 1: Find Four Satellites
34. 1. Find four satellites ✔️
2. Determine their position
3. Determine the distance to each
4. Trilateration! ✔️
How to determine your position using GPS
36. Step 2: Determine the Satellites' Positions
The GPS signal includes
• Date, Time, Health
• Ephemeris
• Almanac
37. Step 2: Determine the Satellites' Positions
The GPS signal includes
• Date, Time, Health
• Ephemeris (location of the satellite)
• Almanac (coarse location of all satellites, ionospheric model)
38. Step 2: Determine the Satellites' Positions
A-GPS (get this information via the Internet)
39. 1. Find four satellites ✔️
2. Determine their position ✔️
3. Determine the distance to each
4. Trilateration! ✔️
How to determine your position using GPS
40. Step 3: Determine the Distance to the Satellites
Satellite has an atomic clock
d
41. Step 3: Determine the Distance to the Satellites
Use travel time of signal to determine distance
d
𝑑 = 𝑡 × 𝐶
𝐶 ≅ 3 × 108
𝑚/𝑠
42. Step 3: Determine the Distance to the Satellites
Problem!
atomic clock
no atomic clock
43. Step 3: Determine the Distance to the Satellites
I can get the pseudoranges to the satellites
44. Step 3: Determine the Distance to the Satellites
If I can determine the offset, I'm good!
45. Step 3: Determine the Distance to the Satellites
This is where the fourth satellite comes in!
46. This is where the fourth satellite comes in!
Step 3: Determine the Distance to the Satellites
47. 1. Find four satellites ✔️
2. Determine their position ✔️
3. Determine the distance to each✔️
4. Trilateration! ✔️
How to determine your position using GPS
48. Where to?
Your driver will arrive in 4 mins
Confirm ride
Why is my location still wrong?
49. Where to?
Your driver will arrive in 4 mins
Confirm ride
GPS is only accurate to about 5 meters.
Why is my location still wrong?
50. Where to?
Your driver will arrive in 4 mins
Confirm ride
GPS is only accurate to about 5 meters.
(under ideal conditions)
Why is my location still wrong?