summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-08-28 20:46:15 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-08-28 20:46:15 +0000
commit5184ba2d3699469bd57420d999cfe9d9f8cb4843 (patch)
tree533b1d36b8bf6ae3033468ca3ef8f526f43c82a9 /test
parent71fd9148a8f65c9ecfd4c2c93faa8046729922fa (diff)
downloadgpsd-5184ba2d3699469bd57420d999cfe9d9f8cb4843.tar.gz
Change the check file in the AIVDM regression test to use unscaled CSV.
Extract the code for dumping unscaled CSV out of the driver into gpsdecode.c. (This is preparation for drastically simplifying the main AIS dump function.)
Diffstat (limited to 'test')
-rw-r--r--test/schwehr.aivdm.chk24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/schwehr.aivdm.chk b/test/schwehr.aivdm.chk
index 4da5ced2..f88bdfd7 100644
--- a/test/schwehr.aivdm.chk
+++ b/test/schwehr.aivdm.chk
@@ -1,17 +1,17 @@
-1,0,371798000,Under way using engine,fastleft,12.3,1,-123.3954,48.3816,2240,215,33,0x0,0,0x109c2
-1,0,440348000,Under way using engine,nan,0.0,0,-70.7582,43.0802,934,511,13,0x0,0,0x103f4
-2,0,356302000,Under way using engine,fastright,13.9,0,-71.6261,40.3924,877,91,41,0x0,0,0x1800c
-3,0,563808000,Moored,0,0.0,1,-76.3275,36.9100,2520,352,35,0x0,0,0x0
-4,0,003669702,2007:05:14T19:57:39Z,1,-76.3524,36.8838,Surveyed,0,0x105df
-5,0,351759000,9134270,0,3FOF8,EVER DIADEM,Cargo - all ships of this type,225,70,1,31,GPS,05-15T14:00Z,12.2,NEW YORK,0
+1,0,371798000,0,-127,123,1,-74037230,29028980,2240,215,33,0x0,0,0x109c2
+1,0,440348000,0,-128,0,0,-42454920,25848090,934,511,13,0x0,0,0x103f4
+2,0,356302000,0,127,139,0,-42975686,24235415,877,91,41,0x0,0,0x1800c
+3,0,563808000,5,0,0,1,-45796520,22146000,2520,352,35,0x0,0,0x0
+4,0,003669702,2007:05:14T19:57:39Z,1,-45811417,22130260,7,0,0x105df
+5,0,351759000,9134270,0,3FOF8,EVER DIADEM,70,225,70,1,31,1,05-15T14:00Z,122,NEW YORK,0
6,1,150834090,3,313240222,0,42827,50:eb2f118f7ff100
7,1,655901842,158483613,321823389,836359488,0
8,0,366999712,23480,256:3a53dbb7be4a773137f87d7b0445f040dea05d93f593783194ae9b9d9dbe05fb
-9,3,1069287948,4032,932,1,177.3001,106.3532,256.2,48,0x5b,1,0,0x67913
+9,3,1069287948,4032,932,1,106380055,63811893,2562,48,0x5b,1,0,0x67913
10,0,366814480,366832740
-11,0,304137000,2009:05:22T02:22:40Z,1,-94.4077,28.4091,GPS,0,0x0
-18,0,338087471,0,0.1,0,-74.0721,40.6845,79.6,511,49,0x0,1,0,1,1,1,1,0xe0006
-18,0,338088483,0,0.0,0,-70.8112,43.1156,171.6,511,20,0x0,1,0,1,1,1,1,0xe0006
-19,0,367059850,248,8.7,0,-88.8104,29.5437,335.9,511,46,0x4,CAPT.J.RIMES,Cargo - all ships of this type,5.21.4.4,Undefined,0,0x0
+11,0,304137000,2009:05:22T02:22:40Z,1,-56644610,17045470,1,0,0x0
+18,0,338087471,0,1,0,-44443279,24410724,796,511,49,0x0,1,0,1,1,1,1,0xe0006
+18,0,338088483,0,0,0,-42486718,25869335,1716,511,20,0x0,1,0,1,1,1,1,0xe0006
+19,0,367059850,248,87,0,-53286235,17726217,3359,511,46,0x4,CAPT.J.RIMES,70,5,21,4,4,0,0,0x0
24,0,367405970,0,CAPTAIN`S PARADISE
-24,2,338085242,1,Anti-pollution equipment,ACR1234,WDD7883,8,3,2,1
+24,2,338085242,1,54,ACR1234,WDD7883,8,3,2,1