Skip to content

Commit ec02f88

Browse files
Merge pull request #26 from guoyufu/patch-5
Update README.md with NmeaUtils commands
2 parents 3b7b6d1 + fe3616a commit ec02f88

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,23 @@ site (GetNasaHourlyEphemeris.m will tell you the correct url and filename),
5252
copy the file to the directory where your log file is,
5353
and GetNasaHourlyEphemeris.m will read it from there.
5454

55+
### To evaluate an NMEA file against another NMEA file:
56+
Use Nmea2RtkMetrics.m to compute position accuracy metrics from two NMEA files:
57+
58+
dir='./NmeaUtils/example/';
59+
refFileName='MTV.Local1.SPAN.20200206-181434.gga';
60+
testFileName='MTV.Local1.ublox-F9K.20200206-181434.nmea';
61+
Nmea2RtkMetrics(testFileName,refFileName,dir)
62+
63+
This will lead to the following output:
64+
65+
50% (m), 95% (m), TT1M (s), TA1M (s), AA5S (m), AA10S (m), XTrack 50% (m), XTrack 95% (m)
66+
0.49, 0.81, 0, 0.91, 786.00, 0.91, 0.09, 0.27
67+
68+
Use Nmea2ErrorPlot.m to generate CDF of horizontal error:
69+
70+
Nmea2ErrorPlot(testFileName,refFileName,dir)
71+
5572
### For a summary of the open source GNSS Measurements Tools
5673

5774
See `~/gpstools/opensource/Contents.m` or type 'help opensource' in matlab

0 commit comments

Comments
 (0)