Download presentation
Presentation is loading. Please wait.
1
Global Positioning System
2
global positioning system– common core state standards
Educational Technology Language Art Science Math 1.2 Collaborate: Use digital media and environments to communicate and work collaboratively to support individual learning and contribute to the learning of others 1.3 Investigate and Think Critically: Research, manage and evaluate information and solve problems using digital tools and resources L Apply knowledge of language to understand how language functions in different contexts, to make effective choices for meaning or style, and to comprehend more fully when reading or listening. SL Make strategic use of digital media (e.g., textual, graphical, audio, visual, and interactive elements) in presentations to enhance understanding of findings, reasoning, and evidence and to add interest. 9-12 SYSB Systems thinking can be especially useful in analyzing complex situations. To be useful, a system needs to be specified as clearly as possible. 9-12 SYSD Systems can be changing or in equilibrium. N-Q.2. Define appropriate quantities for the purpose of descriptive modeling N-Q.3. Choose a level of accuracy appropriate to limitations on measurement when reporting quantities.
3
I will be able to collect the GPS location
global positioning system– learning objectives I will be able to collect the GPS location I will be able to retrieve a description from the user I will be able to display a map I will be able to activate pushpins I will be able to track unique entries
4
Global Positioning System (GPS)
What can your phone do when it knows where it is?
5
GPS You can access the GPS sensor on your phone with the following line of code: var loc := senses->current location loc->post to wall
6
GPS How can you write a program that tracks all of the places it has been run, and shows a picture showing all of those places when run? If you run it at school, then at home, and then at a college, you should end up with a map showing those locations by the time you’re done.
7
first Step It probably isn’t immediately obvious how to write this program. So, start with this question. This should be the first thing you ask yourself every time you sit down to write a program: What do you not know how to do?
8
locations You’ll notice that your location is expressed as a latitude and a longitude. Although you can get these values, they’re not particularly useful. You can also look up elevation.
9
Use this one for the homework
GPS senses->current location Returns an approximated geo-location based on WiFi or Cell tower. Bad: 1 mile Good: low battery impact senses->current location accurate Returns a precise geo-location based on GPS. Bad: high battery usage, slower, requires satellites Good: high precision within 10/20 of feet Use this one for the homework
10
maps recipe Creating a map Adding a pushpin Displaying the map
var map := maps->create full map Adding a pushpin map->add text(“bla bla”, location, ...) Displaying the map map->post to wall
11
assignment Write a program that keeps track of every location where you’ve run it. When you run the program, add your current location to a list, then show all locations from the list.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.