Navcom SF-2050G GPS Read

 

Library

 

Olin Robotics Blockset

 

 

Description

 

Read output from Navcom SF-2050G GPS.

 

Uses the GGA and VTG sentences from the GMEA standard protocol.

 

The data from this block is ONLY valid when port 6, Track Status, is non-zero. 

 

Outputs with example output and format description:

1. Time:  123519      

Fix taken at 12:35:19 UTC

 

2. Lat:  4807.038

3. Lat direction: N   (ASCII code)

Latitude 48 deg 07.038' N

 

4. Long: 01131.324

5. Long direction: E  (ASCII code)

Longitude 11 deg 31.324' E

 

6. Track status: 1

Fix quality: 0 = invalid

                    1 = GPS fix

                    2 = DGPS fix

 

7. Num satellites tracked: 8

Number of satellites being tracked

 

8. Horz dilution: 0.9

Horizontal dilution

 

9. Altitude: 545.4

Altitude above mean sea level (Meters)

 

10. Sea vs WGS84: 46.9

Height of geoid (mean sea level) above WGS84 ellipsoid

 

11. True Track: 54.7

True track made good

 

12. Mag track: Not output by Navcom SF-2050G

Magnetic track made good

 

13. Gnd speed Knots: 5.5

Ground speed (Knots)

 

14. Gnd speed Km/h: 10.2

Ground speed (Km/h)

 

 

Block Parameters

 

Sample time to fetch data:

This is how much time is between fetches from the serial buffer that the Navcom GPS is connected to.  Units are seconds.

 

COM port:

Choose which COM port to use. 

 

 

Notes

 

To configure the Navcom SF-2050G to output NMEA data at 5Hz update rate, use the program from Navcom, StarUtil_v100_3_1.exe on the CD-ROM with the hardware, to communicate with the second COM port (control port, not data port) on the Navcom receiver unit. 

 

In the program set the Navcom receiver to update at 5Hz.  Do this with these steps:

  1. Connecting to the receiver using “PC Port\Configure PC Port…”.  Choose the PC COM port you are connected on.  Leave “Auto Baud” checked to have the program search for the device at all baud rates.
  2. Open “Receiver\Setup\Rover/tracking and Navigation…”.  Change the setting for “Navigation Rate” to 5.  Click “Apply” and then “OK”. 
  3. Open “Receiver\Messages\NMEA output…”.  Right click under message type to add a sentence.  Add GGA and VTG sentences, and set them to update “on change”.  Click “Apply” and “OK”.
  4. You can now choose “PC Port\Close PC COM Port” and then power off the receiver.  The receiver is now ready for use with this driver at 5Hz.

 

 

Reference

 

http://vancouver-webpages.com/peter/nmeafaq.txt