coe-485 senior design project
DESCRIPTION
COE-485 Senior Design Project. Group#1 Week_8. Content. Map calibration. Mapping between GPS coordinates and map coordinates. Virtual GPS. Serial Interface. Integrating Components. Map Calibration. 2 problem Faced: The right direction of the map. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/1.jpg)
COE-485COE-485Senior Design ProjectSenior Design Project
Group#1Group#1
Week_8Week_8
![Page 2: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/2.jpg)
ContentContent
Map calibration.Map calibration.
Mapping between GPS coordinates and map Mapping between GPS coordinates and map coordinates.coordinates.
Virtual GPS.Virtual GPS.
Serial Interface.Serial Interface.
Integrating ComponentsIntegrating Components
![Page 3: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/3.jpg)
Map Calibration Map Calibration
2 problem Faced:2 problem Faced: The right direction of the map.The right direction of the map. The longitude and latitude of Dhahran Map.The longitude and latitude of Dhahran Map.
Solution:Solution: Modify the map (new scanned, North).Modify the map (new scanned, North). Use program to Calibrate the map:Use program to Calibrate the map:
OziExplorer OziExplorer
http://www.oziexplorer.comhttp://www.oziexplorer.com
![Page 4: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/4.jpg)
Calibration(2)Calibration(2)
![Page 5: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/5.jpg)
Calibration(2)Calibration(2)
![Page 6: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/6.jpg)
![Page 7: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/7.jpg)
From GPS to mapFrom GPS to map
Reach to equation that relates the GPS coordinates and Reach to equation that relates the GPS coordinates and the coordinates on the map.the coordinates on the map.
Mapping depends on Map view and size.Mapping depends on Map view and size.
E.g. 5 minutes on real = 200 pixels on interfaceE.g. 5 minutes on real = 200 pixels on interface
Direction of new locationDirection of new location..
Plotting the new coordinates.Plotting the new coordinates.
![Page 8: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/8.jpg)
Virtual GPSVirtual GPS
Why do we need to buy GPS units ?Why do we need to buy GPS units ?We can use Franson GPSGate for free.We can use Franson GPSGate for free.We can use Franson GPSGate Simulator We can use Franson GPSGate Simulator (software) which acts as a virtual GPS.(software) which acts as a virtual GPS.With some settings it can send GPS messages With some settings it can send GPS messages to a physical port.to a physical port.These messages can be of any NMEA type ( eg. These messages can be of any NMEA type ( eg. GGA ). GGA ). You can download it from: You can download it from: http://http://franson.com/gpsgatefranson.com/gpsgate/ /
![Page 9: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/9.jpg)
Virtual GPSVirtual GPS
Step1:SettingsStep1:SettingsChoose Simulator to act as a virtual GPS
Choose the Physical
Ports if you have
![Page 10: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/10.jpg)
Virtual GPSVirtual GPS
Step2: Step2:
B : From advanced We can Choose
any NMEA format as shown next
slide
A : Add the coordinates manually
![Page 11: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/11.jpg)
Virtual GPSVirtual GPS
B: Choosing NMEA format. B: Choosing NMEA format.
![Page 12: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/12.jpg)
Virtual GPSVirtual GPS
Finally Finally To start the simulator click
Start. NMEA data will now be sent out
the virtual serial ports you defined
under
![Page 13: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/13.jpg)
Example Example
This is the execution of our code that reads from the serial physical This is the execution of our code that reads from the serial physical port after virtual GPS sent the messages to it. port after virtual GPS sent the messages to it.
![Page 14: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/14.jpg)
Serial InterfaceSerial Interface
Using the package javax.commUsing the package javax.comm
The Package help to enumerate all the ports The Package help to enumerate all the ports available in the PC.available in the PC.
Contains all classes needed to send and receive Contains all classes needed to send and receive data from serial ports.data from serial ports.
Available at the sun website.Available at the sun website. javajava.sun.com/products/.sun.com/products/javajavacomm/index.jsp comm/index.jsp
![Page 15: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/15.jpg)
Integrating ComponentsIntegrating Components
Putting things together.Putting things together.User Interface + calibrated map + NMEA parser + Serial User Interface + calibrated map + NMEA parser + Serial Interface + virtual GPS.Interface + virtual GPS.
Interface Calibrated Map
Serial Interface NMEA parserVirtual GPS
Intermediate class
Storage
HW
![Page 16: COE-485 Senior Design Project](https://reader036.vdocument.in/reader036/viewer/2022062314/568145d8550346895db2dc25/html5/thumbnails/16.jpg)
Coming nextComing next
Progress report.Progress report.
Phase 2 planning.Phase 2 planning.
Have fun in Midterm break.Have fun in Midterm break.