1 / 16

COE-485 Senior Design Project

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.

jontae
Télécharger la présentation

COE-485 Senior Design Project

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. COE-485Senior Design Project Group#1 Week_8

  2. Content • Map calibration. • Mapping between GPS coordinates and map coordinates. • Virtual GPS. • Serial Interface. • Integrating Components

  3. Map Calibration • 2 problem Faced: • The right direction of the map. • The longitude and latitude of Dhahran Map. • Solution: • Modify the map (new scanned, North). • Use program to Calibrate the map: • OziExplorer • http://www.oziexplorer.com

  4. Calibration(2)

  5. Calibration(2)

  6. From GPS to map • Reach to equation that relates the GPS coordinates and the coordinates on the map. • Mapping depends on Map view and size. • E.g. 5 minutes on real = 200 pixels on interface • Direction of new location. • Plotting the new coordinates.

  7. Virtual GPS • Why do we need to buy GPS units ? • We can use Franson GPSGate for free. • We can use Franson GPSGate Simulator (software) which acts as a virtual GPS. • With some settings it can send GPS messages to a physical port. • These messages can be of any NMEA type ( eg. GGA ). • You can download it from: http://franson.com/gpsgate/

  8. Virtual GPS Choose Simulator to act as a virtual GPS Step1:Settings Choose the Physical Ports if you have

  9. Virtual GPS A : Add the coordinates manually • Step2: B : From advanced We can Choose any NMEA format as shown next slide

  10. Virtual GPS B: Choosing NMEA format.

  11. Virtual GPS To start the simulator click Start. NMEA data will now be sent out the virtual serial ports you defined under Finally

  12. Example This is the execution of our code that reads from the serial physical port after virtual GPS sent the messages to it.

  13. Serial Interface • Using the package javax.comm • The Package help to enumerate all the ports available in the PC. • Contains all classes needed to send and receive data from serial ports. • Available at the sun website. • java.sun.com/products/javacomm/index.jsp

  14. Integrating Components • Putting things together. • User Interface + calibrated map + NMEA parser + Serial Interface + virtual GPS. Interface Calibrated Map Intermediate class Storage NMEA parser Virtual GPS Serial Interface HW

  15. Coming next • Progress report. • Phase 2 planning. • Have fun in Midterm break.

More Related