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)
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:
Reference
http://vancouver-webpages.com/peter/nmeafaq.txt