Presentation is loading. Please wait.

Presentation is loading. Please wait.

COE-485 Senior Design Project Group#1Week_8. Content Map calibration. Mapping between GPS coordinates and map coordinates. Virtual GPS. Serial Interface.

Similar presentations


Presentation on theme: "COE-485 Senior Design Project Group#1Week_8. Content Map calibration. Mapping between GPS coordinates and map coordinates. Virtual GPS. Serial Interface."— Presentation transcript:

1 COE-485 Senior Design Project Group#1Week_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 right direction of the map. The longitude and latitude of Dhahran Map. The longitude and latitude of Dhahran Map.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 http://www.oziexplorer.com

4 Calibration(2)

5 Calibration(2)

6

7 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.

8 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/ http://franson.com/gpsgate/

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

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

11 Virtual GPS B: Choosing NMEA format.

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

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

14 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 java.sun.com/products/javacomm/index.jsp

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

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


Download ppt "COE-485 Senior Design Project Group#1Week_8. Content Map calibration. Mapping between GPS coordinates and map coordinates. Virtual GPS. Serial Interface."

Similar presentations


Ads by Google