Hereafter the listings of the data directory is shown. Note the hourly timestamped sensor data files.
-rw-r--r-- 1 root root 323874 Mar 10 19:59 test.2004-03-10-18.GPSNMEA0 -rw-r--r-- 1 root root 266761 Mar 10 19:59 test.2004-03-10-18.Loadcell0 -rw-r--r-- 1 root root 410400 Mar 10 20:59 test.2004-03-10-19.GPSNMEA0 -rw-r--r-- 1 root root 338118 Mar 10 20:59 test.2004-03-10-19.Loadcell0 -rw-r--r-- 1 root root 410363 Mar 10 21:59 test.2004-03-10-20.GPSNMEA0 -rw-r--r-- 1 root root 338212 Mar 10 21:59 test.2004-03-10-20.Loadcell0 -rw-r--r-- 1 root root 410400 Mar 10 22:59 test.2004-03-10-21.GPSNMEA0 -rw-r--r-- 1 root root 338118 Mar 10 22:59 test.2004-03-10-21.Loadcell0 -rw-r--r-- 1 root root 410437 Mar 10 23:59 test.2004-03-10-22.GPSNMEA0 -rw-r--r-- 1 root root 338118 Mar 10 23:59 test.2004-03-10-22.Loadcell0 -rw-r--r-- 1 root root 410400 Mar 11 00:59 test.2004-03-10-23.GPSNMEA0 -rw-r--r-- 1 root root 338212 Mar 11 00:59 test.2004-03-10-23.Loadcell0 -rw-r--r-- 1 root root 410400 Mar 11 01:59 test.2004-03-11-00.GPSNMEA0 -rw-r--r-- 1 root root 338118 Mar 11 01:59 test.2004-03-11-00.Loadcell0 -rw-r--r-- 1 root root 409918 Mar 11 02:59 test.2004-03-11-01.GPSNMEA0 -rw-r--r-- 1 root root 338212 Mar 11 02:59 test.2004-03-11-01.Loadcell0 -rw-r--r-- 1 root root 410400 Mar 11 03:59 test.2004-03-11-02.GPSNMEA0 -rw-r--r-- 1 root root 338118 Mar 11 03:59 test.2004-03-11-02.Loadcell0 -rw-r--r-- 1 root root 410400 Mar 11 04:59 test.2004-03-11-03.GPSNMEA0 -rw-r--r-- 1 root root 338118 Mar 11 04:59 test.2004-03-11-03.Loadcell0 -rw-r--r-- 1 root root 410363 Mar 11 05:59 test.2004-03-11-04.GPSNMEA0 -rw-r--r-- 1 root root 338212 Mar 11 05:59 test.2004-03-11-04.Loadcell0 -rw-r--r-- 1 gb users 5753 2004-02-10 15:59 ACUTIME_TEST/test_tb_.2004-02-10-14.AcutimeEvent -rw-r--r-- 1 gb users 19823 2004-02-10 16:59 ACUTIME_TEST/test_tb_.2004-02-10-15.AcutimeEvent -rw-r--r-- 1 gb users 19786 2004-02-10 17:59 ACUTIME_TEST/test_tb_.2004-02-10-16.AcutimeEvent -rw-r--r-- 1 gb users 19819 2004-02-10 18:59 ACUTIME_TEST/test_tb_.2004-02-10-17.AcutimeEvent -rw-r--r-- 1 gb users 19886 2004-02-10 19:59 ACUTIME_TEST/test_tb_.2004-02-10-18.AcutimeEvent -rw-r--r-- 1 gb users 19892 2004-02-10 20:59 ACUTIME_TEST/test_tb_.2004-02-10-19.AcutimeEvent -rw-r--r-- 1 gb users 19867 2004-02-10 21:59 ACUTIME_TEST/test_tb_.2004-02-10-20.AcutimeEvent -rw-r--r-- 1 gb users 20257 2004-02-10 22:59 ACUTIME_TEST/test_tb_.2004-02-10-21.AcutimeEvent -rw-r--r-- 1 gb users 19908 2004-02-10 23:59 ACUTIME_TEST/test_tb_.2004-02-10-22.AcutimeEvent -rw-r--r-- 1 gb users 19935 2004-02-11 00:59 ACUTIME_TEST/test_tb_.2004-02-10-23.AcutimeEvent -rw-r--r-- 1 gb users 19844 2004-02-11 01:59 ACUTIME_TEST/test_tb_.2004-02-11-00.AcutimeEvent -rw-r--r-- 1 gb users 19844 2004-02-11 02:59 ACUTIME_TEST/test_tb_.2004-02-11-01.AcutimeEvent -rw-r--r-- 1 gb users 19855 2004-02-11 03:59 ACUTIME_TEST/test_tb_.2004-02-11-02.AcutimeEvent -rw-r--r-- 1 gb users 19870 2004-02-11 04:59 ACUTIME_TEST/test_tb_.2004-02-11-03.AcutimeEvent -rw-r--r-- 1 gb users 19819 2004-02-11 05:59 ACUTIME_TEST/test_tb_.2004-02-11-04.AcutimeEvent -rw-r--r-- 1 gb users 19849 2004-02-11 06:59 ACUTIME_TEST/test_tb_.2004-02-11-05.AcutimeEvent -rw-r--r-- 1 gb users 19774 2004-02-11 07:59 ACUTIME_TEST/test_tb_.2004-02-11-06.AcutimeEvent -rw-r--r-- 1 gb users 20147 2004-02-11 08:59 ACUTIME_TEST/test_tb_.2004-02-11-07.AcutimeEvent
Here below the format of the data files for the GPS sensor is presented. The data were acquired at ISMAR Bologna. The antenna was placed in such a way that few SV were visible. Note the one second update of the ZDA sentence, which is synchronizes to UTC. In contrast, the GGA sentence updates synchrounously with UTC only when the position data were made available (more than 3-4 SVs).
$GPGGA,155947,4431.423403,N,01120.369158,E,0,03,2.3,24.36,M,47.51,M,,0000*7C $GPZDA,160000.73,11,03,2004,-1,00*7C $GPGGA,155947,4431.423403,N,01120.369158,E,0,03,2.3,24.36,M,47.51,M,,0000*7C $GPZDA,160001.73,11,03,2004,-1,00*7D $GPGGA,155947,4431.423403,N,01120.369158,E,0,03,2.3,24.36,M,47.51,M,,0000*7C $GPZDA,160002.71,11,03,2004,-1,00*7C $GPGGA,155947,4431.423403,N,01120.369158,E,0,03,2.3,24.36,M,47.51,M,,0000*7C $GPZDA,160003.71,11,03,2004,-1,00*7D $GPGGA,155947,4431.423403,N,01120.369158,E,0,03,2.3,24.36,M,47.51,M,,0000*7C $GPZDA,160004.72,11,03,2004,-1,00*79 $GPGGA,155947,4431.423403,N,01120.369158,E,0,03,2.3,24.36,M,47.51,M,,0000*7C $GPZDA,160005.72,11,03,2004,-1,00*78 $GPGGA,155947,4431.423403,N,01120.369158,E,0,03,2.3,24.36,M,47.51,M,,0000*7C $GPZDA,160006.72,11,03,2004,-1,00*7B $GPGGA,155947,4431.423403,N,01120.369158,E,0,03,2.3,24.36,M,47.51,M,,0000*7C $GPZDA,160007.72,11,03,2004,-1,00*7A $GPGGA,160008,4431.400483,N,01120.367407,E,1,04,3.9,28.88,M,47.51,M,,0000*74 $GPZDA,160008.78,11,03,2004,-1,00*7F $GPGGA,160009,4431.400729,N,01120.367416,E,1,04,3.9,28.81,M,47.51,M,,0000*7F $GPZDA,160009.75,11,03,2004,-1,00*73 $GPGGA,160010,4431.400968,N,01120.367424,E,1,04,4.0,28.74,M,47.51,M,,0000*79 $GPZDA,160010.73,11,03,2004,-1,00*7D $GPGGA,160011,4431.401344,N,01120.367441,E,1,04,4.0,28.63,M,47.51,M,,0000*78 $GPZDA,160011.73,11,03,2004,-1,00*7C $GPGGA,160012,4431.401647,N,01120.367452,E,1,04,4.0,28.55,M,47.51,M,,0000*7A $GPZDA,160012.71,11,03,2004,-1,00*7D $GPGGA,160013,4431.401894,N,01120.367460,E,1,04,4.0,28.48,M,47.51,M,,0000*76 $GPZDA,160013.73,11,03,2004,-1,00*7E $GPGGA,160014,4431.402189,N,01120.367468,E,1,04,4.0,28.39,M,47.51,M,,0000*79 $GPZDA,160014.73,11,03,2004,-1,00*79 $GPGGA,160015,4431.402369,N,01120.367471,E,1,04,4.0,28.33,M,47.51,M,,0000*76 $GPZDA,160015.73,11,03,2004,-1,00*78 $GPGGA,160016,4431.402544,N,01120.367473,E,1,04,4.0,28.27,M,47.51,M,,0000*7B $GPZDA,160016.73,11,03,2004,-1,00*7B $GPGGA,160017,4431.403168,N,01120.367767,E,1,04,4.0,28.48,M,47.51,M,,0000*7E $GPZDA,160017.75,11,03,2004,-1,00*7C $GPGGA,160018,4431.403368,N,01120.367774,E,1,04,4.0,28.42,M,47.51,M,,0000*7B $GPZDA,160018.73,11,03,2004,-1,00*75 $GPGGA,160019,4431.403583,N,01120.367783,E,1,04,4.0,28.37,M,47.51,M,,0000*73 $GPZDA,160019.73,11,03,2004,-1,00*74 $GPGGA,160020,4431.403845,N,01120.367798,E,1,04,4.0,28.30,M,47.51,M,,0000*73 $GPZDA,160020.73,11,03,2004,-1,00*7E $GPGGA,160021,4431.404077,N,01120.367810,E,1,04,4.0,28.25,M,47.51,M,,0000*77 $GPZDA,160021.72,11,03,2004,-1,00*7E $GPGGA,160022,4431.404230,N,01120.367816,E,1,04,4.0,28.20,M,47.51,M,,0000*76 $GPZDA,160022.72,11,03,2004,-1,00*7D $GPGGA,160023,4431.404372,N,01120.367818,E,1,04,4.0,28.15,M,47.51,M,,0000*78 $GPZDA,160023.72,11,03,2004,-1,00*7C $GPGGA,160024,4431.404491,N,01120.367820,E,1,04,4.0,28.11,M,47.51,M,,0000*7A $GPZDA,160024.72,11,03,2004,-1,00*7B
And here we show the data collected by the AcutimeTM. The codes 0x8fad and 0x8fab label the accurate event timestamp and position records, respectively.
TSIP_0x8fad,event_count,799,fractional_second,0.6794964328000788,utc_hour,14,utc_minute,42,utc_second,38,day,10,month,2,year,2004,receiver_status,-4 4,utc_flags,1 TSIP_0x8f0b,event_count,799,time_of_week,225758.6794964328,date,10,month,2,year,2004,utc_offset,13,lat,0.7770873472502805,lon,0.1979117878486181,alt ,71.90707686077803 TSIP_0x8fad,event_count,800,fractional_second,0.5817191054811701,utc_hour,14,utc_minute,43,utc_second,38,day,10,month,2,year,2004,receiver_status,-4 4,utc_flags,1 TSIP_0x8f0b,event_count,800,time_of_week,225818.58171910548,date,10,month,2,year,2004,utc_offset,13,lat,0.777087500430739,lon,0.19791167331671936,al t,74.75267158914357 TSIP_0x8fad,event_count,801,fractional_second,0.48394021473359317,utc_hour,14,utc_minute,44,utc_second,38,day,10,month,2,year,2004,receiver_status,- 44,utc_flags,1 TSIP_0x8f0b,event_count,801,time_of_week,225878.48394021473,date,10,month,2,year,2004,utc_offset,13,lat,0.777087361197015,lon,0.19791135203943067,al t,72.7618990978226 TSIP_0x8fad,event_count,802,fractional_second,0.3861613353656139,utc_hour,14,utc_minute,45,utc_second,38,day,10,month,2,year,2004,receiver_status,-4 4,utc_flags,1 TSIP_0x8f0b,event_count,802,time_of_week,225938.38616133537,date,10,month,2,year,2004,utc_offset,13,lat,0.7770874508316862,lon,0.19791134900395907,a lt,68.6370674725622 TSIP_0x8fad,event_count,803,fractional_second,0.2883760830445681,utc_hour,14,utc_minute,46,utc_second,38,day,10,month,2,year,2004,receiver_status,-4 4,utc_flags,1 TSIP_0x8f0b,event_count,803,time_of_week,225998.28837608304,date,10,month,2,year,2004,utc_offset,13,lat,0.777088066664617,lon,0.1979118920286668,alt ,65.94852707907557 TSIP_0x8fad,event_count,804,fractional_second,0.19060268186149187,utc_hour,14,utc_minute,47,utc_second,38,day,10,month,2,year,2004,receiver_status,-
Hereafter follow the perl code to read and plot the GPSNMEA. data.
#!/bin/perl # convert ddmm.hh and ddmmss.hh to degree sub dmhd60 { local ($alfa)=@_; local ($segno)=$alfa<0?(-1):1; local ($temp)=$segno<0?$alfa*(-1):$alfa; local ($xd)=int($temp/100); $yd=$temp-($xd*100); return $segno*($xd+$yd/60); } sub dmsd60 { local ($alfa)=@_; local ($segno)=$alfa<0?(-1):1; local ($temp)=$segno<0?$alfa*(-1):$alfa; local ($xd)=int($temp/10000); local ($yd) = int (($temp - $xd*10000)/100 ); local ($zd) = $temp - ($xd*10000.0 + $yd*100); return $segno*($xd+$yd/60+$zd/3600); } while (<>) { next if not /^$GPGGA/; @A=split(/,/); $lat=dmhd60($A[2])*($A[5] eq "S" ? -1 : 1) ; $lon=dmhd60($A[4])*($A[5] eq "W" ? -1 : 1) ; next if ($lat == $old_lat and $lon == $old_lon); print "$lon $lat \n"; $old_lat = $lat; $old_lon = $lon; }
Here follows the Perl code to read the AcutimeTMaccurate event timestamp data.
#!/usr/bin/perl while (<>) { if (/0x8fad/) { @A=split(','); $event = $A[2]; $frac = $A[4]; $hh = $A[6]; $mm = $A[8]; $ss = $A[10]; $day = $A[12]; $month = $A[14]; $year = $A[16]; $sfrac = $ss + $frac; $sec_since = $day*86400 + $hh*3600 + $mm*60 + $sfrac; print "$event $diff $year $month $day $hh $mm $sfrac\n" if $event != 0 and $count > 0; $count+=1; } }
And finally the bash script that plots the GPS data with GMT:
#!/bin/sh # RTOD, region, projection and Basemap grid,anot and ticks RTOD=57.29577951308232286465 R=-R11:20:20/11:20:24/44:31:23.5/44:31:27.5 J=-Ju33/1:1000 ; B=-Bg1ca2cf0.1cESwn PS=GPS.ps psbasemap $R $J $B -K -P > TMP.PS # data files TRIMBLE ACUTIME DATA=`ls ACUTIME_TEST/*.AcutimeEvent ` for d in $DATA ; do grep 0x8f0b $d | awk 'FS=","{printf("%.6f %.6f\n", $17*A,$15*A)}' A=$RTOD |\ psxy $R $J -Sc0.01 -W0.1/255/0/0 -K -O >> TMP.PS done # data files TRIMBLE 4000DL DATA=`ls *GPSNMEA0.dat` for d in $DATA ; do perl read_GPSNMEA.pl $d | psxy $R $J -Sc0.1 -K -O >> TMP.PS done echo "showpage" >> TMP.PS ; sed /setpagedevice/d TMP.PS > $PS
Fig.21 shows the plotted data.
Herafter an example of Load Cell data follow. The TA5 transmitter dos not provide any internal time information, hence the timestamp is the System clock taken at the time of TA5 query by the software. That timet was also converted to Unix Time.
date ; hh:mm:ss ; unix time %%%$00+ Load ...... 2003-12-07 ; 23:06:13 ; 1070834773646%%%$00+ 96 N 2003-12-07 ; 23:06:14 ; 1070834774647%%%$00+ 95 N 2003-12-07 ; 23:06:15 ; 1070834775648%%%$00+ 96 N 2003-12-07 ; 23:06:16 ; 1070834776649%%%$00+ 96 N 2003-12-07 ; 23:06:17 ; 1070834777650%%%$00+ 95 N 2003-12-07 ; 23:06:18 ; 1070834778651%%%$00+ 95 N 2003-12-07 ; 23:06:19 ; 1070834779652%%%$00+ 96 N 2003-12-07 ; 23:06:20 ; 1070834780653%%%$00+ 95 N 2003-12-07 ; 23:06:20 ; 1070834780957%%%$00+ 96 N 2003-12-07 ; 23:06:21 ; 1070834781958%%%$00+ 96 N 2003-12-07 ; 23:06:22 ; 1070834782959%%%$00+ 95 N 2003-12-07 ; 23:06:23 ; 1070834783960%%%$00+ 95 N 2003-12-07 ; 23:06:24 ; 1070834784961%%%$00+ 96 N 2003-12-07 ; 23:06:25 ; 1070834785963%%%$00+ 96 N 2003-12-07 ; 23:06:26 ; 1070834786964%%%$00+ 96 N 2003-12-07 ; 23:06:27 ; 1070834787965%%%$00+ 96 N 2003-12-07 ; 23:06:28 ; 1070834788965%%%$00+ 96 N 2003-12-07 ; 23:06:29 ; 1070834789966%%%$00+ 96 N 2003-12-07 ; 23:06:30 ; 1070834790967%%%$00+ 96 N 2003-12-07 ; 23:06:31 ; 1070834791968%%%$00+ 96 N 2003-12-07 ; 23:06:32 ; 1070834792969%%%$00+ 96 N ....