From ccdf4e5641f8847cd49ead381e21b3d28cd0bcc2 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 20 Apr 2010 22:32:55 -0400 Subject: Clear DOPs only when we get a skyview report. This solves the disappearing epx/epy bug on SiRFs, but it was actually a systemic problem that affected several drivers. Navigation solution messages were clearing DOPs, making it impossible for the error modeller to compute estimates. New logic: Clear DOPs only when we get a skyview report. They'll be regenerated by our visibility-matrix calculation when the skyview sentence is analyzed. If a sentence from the device supplies a DOP between the time the visibility calculation is done and when the next fix is reported, it will override our computed value. This might change later! This change required a regression-test rebuild. --- test/daemon/bu303-nofix.log.chk | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test/daemon/bu303-nofix.log.chk') diff --git a/test/daemon/bu303-nofix.log.chk b/test/daemon/bu303-nofix.log.chk index eac078e2..d3e86a2b 100644 --- a/test/daemon/bu303-nofix.log.chk +++ b/test/daemon/bu303-nofix.log.chk @@ -1,28 +1,28 @@ -{"class":"SKY","tag":"MID4","time":1037284378.280,"xdop":0.00,"ydop":0.00} +{"class":"SKY","tag":"MID4","time":1037284378.280} $GPRMC,143258,V,18000.0000,N,00000.0000,W,0.0000,0.000,141102,,*1F $GPGSA,A,1,,,,,,,,,,,,,,,,*32 {"class":"TPV","tag":"MID2","time":1037284378.280,"ept":0.005,"mode":1} -{"class":"SKY","tag":"MID4","time":1037284379.280,"hdop":50.00} +{"class":"SKY","tag":"MID4","time":1037284379.280} $GPRMC,143259,V,18000.0000,N,00000.0000,W,0.0000,0.000,141102,,*1E $GPGSA,A,1,,,,,,,,,,,,,,,,*32 {"class":"TPV","tag":"MID2","time":1037284379.280,"ept":0.005,"mode":1} -{"class":"SKY","tag":"MID4","time":1037284380.280,"hdop":50.00} +{"class":"SKY","tag":"MID4","time":1037284380.280} $GPRMC,143300,V,18000.0000,N,00000.0000,W,0.0000,0.000,141102,,*13 $GPGSA,A,1,,,,,,,,,,,,,,,,*32 {"class":"TPV","tag":"MID2","time":1037284380.280,"ept":0.005,"mode":1} -{"class":"SKY","tag":"MID4","time":1037284381.280,"hdop":50.00} +{"class":"SKY","tag":"MID4","time":1037284381.280} $GPRMC,143301,V,18000.0000,N,00000.0000,W,0.0000,0.000,141102,,*12 $GPGSA,A,1,,,,,,,,,,,,,,,,*32 {"class":"TPV","tag":"MID2","time":1037284381.280,"ept":0.005,"mode":1} -{"class":"SKY","tag":"MID4","time":1037284382.280,"hdop":50.00} +{"class":"SKY","tag":"MID4","time":1037284382.280} $GPRMC,143302,V,18000.0000,N,00000.0000,W,0.0000,0.000,141102,,*11 $GPGSA,A,1,,,,,,,,,,,,,,,,*32 {"class":"TPV","tag":"MID2","time":1037284382.280,"ept":0.005,"mode":1} -{"class":"SKY","tag":"MID4","time":1118327583.280,"hdop":50.00} +{"class":"SKY","tag":"MID4","time":1118327583.280} $GPRMC,143303,V,18000.0000,N,00000.0000,W,0.0000,0.000,090605,,*1D $GPGSA,A,1,,,,,,,,,,,,,,,,*32 {"class":"TPV","tag":"MID2","time":1118327583.280,"ept":0.005,"mode":1} -{"class":"SKY","tag":"MID4","time":1118327584.280,"hdop":50.00} +{"class":"SKY","tag":"MID4","time":1118327584.280} $GPRMC,143304,V,18000.0000,N,00000.0000,W,0.0000,0.000,090605,,*1A $GPGSA,A,1,,,,,,,,,,,,,,,,*32 {"class":"TPV","tag":"MID2","time":1118327584.280,"ept":0.005,"mode":1} -- cgit v1.2.1