gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] [PATCH] Fix on NMEA driver 2D mode


From: Eric S. Raymond
Subject: Re: [gpsd-dev] [PATCH] Fix on NMEA driver 2D mode
Date: Thu, 5 Apr 2012 10:43:00 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

José Miguel Gonçalves <address@hidden>:
> Hi Eric,
> 
> On 21-03-2012 22:12, Eric S. Raymond wrote:
> >José Miguel Gonçalves<address@hidden>:
> >>While working with a Septentrio PolarRx2 receiver, I've noticed that
> >>I never got 2D fixes with xgps, while the Septentrio proprietary
> >>software told me that it had a fix. I've tracked down the bug to the
> >>GGA processing in the NMEA driver.
> >If you re-patch yours so the test (session->newdata.mode != MODE_2D)
> >is replaced by (session->newdata.mode>  MODE_2D), do you still get fixes?
> 
> No!
> 
> >I'd like to have a test logfile for this receiver.  Can you supply one?
> 
> Sure. I attach two NMEA log files for this device with a 2D fix. One
> outputting GGA+GSA+GSV+VTG+ZDA+GST (nmea_2d.log) and the other
> outputting all the NMEA messages that the receiver supports
> (nmea_2d_full.log).

>From the full log, I get these fixes with the current GPSD head

"class":"TPV","tag":"RMC","device":"stdin","mode":2,"time":"2012-03-22T11:22:58.000Z","ept":0.005,"lat":38.737331333,"lon":-9.140637500,"track":0.0000,"speed":0.000}
{"class":"TPV","tag":"RMC","device":"stdin","mode":2,"time":"2012-03-22T11:22:59.000Z","ept":0.005,"lat":38.737327500,"lon":-9.140636667,"track":0.0000,"speed":0.000}
{"class":"TPV","tag":"RMC","device":"stdin","mode":2,"time":"2012-03-22T11:23:00.000Z","ept":0.005,"lat":38.737322500,"lon":-9.140635833,"track":339.2000,"speed":0.051}
{"class":"TPV","tag":"RMC","device":"stdin","mode":2,"time":"2012-03-22T11:23:01.000Z","ept":0.005,"lat":38.737317833,"lon":-9.140634000,"track":0.0000,"speed":0.000}

Is this the expected behavior? Does it fix your problem?
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]