gpsd-users
[Top][All Lists]
Advanced

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

Re: Strange troubles with emulation


From: Gary E. Miller
Subject: Re: Strange troubles with emulation
Date: Thu, 21 Jan 2021 15:13:32 -0800

Yo Владимир!

On Fri, 22 Jan 2021 01:55:55 +0300
Владимир Калачихин <v.kalachikhin@gmail.com> wrote:

> 21.01.2021 22:23, Gary E. Miller пишет:
> > I want the log file EXACTLY as you feed it to gpsfake, gpsdecode,
> > etc.
> 
> Ok, let's start over.

I'd rather not.  Hard to finish when you keep starting over.

> I get my own log player and feed it my own strange log.

If "my own strange log" is the one you sent earlier, we both nkow it
does not conform to NMEA 0183.  So we know your next command will fail:

> I run 'gpsd -N -n tcp://localhost:2222`

If it is a different file, that is what I need.  Then I can run it past
gpsd myself, and add debug statements as I want.

> After this, I run `gpspipe -R -n 200 > raw.log`
> Result -- in the attachment.

Yes.  But the problem has already come, and gone.

> I cut first three rows from raw.log and run `gpsfake -c 1 raw.log`
> 
> I see that gpspipe -R return ok NMEA flow,

Not ok.  Wrong line endings.  But this time you have good JSON.

> gpspipe -w return:
> {"class":"TPV","device":"/dev/pts/4","mode":1,"time":"2019-07-13T18:50:21.000Z","ept":0.005}
> {"class":"TPV","device":"/dev/pts/4","mode":3,"time":"2019-07-13T18:50:30.000Z","ept":0.005,"lat":61.137550000,"lon":28.342950000,"epv":0.000,"track":34.3700,"magtrack":45.2225,"magvar":10.9,"speed":2.696,"epc":0.00,"geoidSep":16.826,"eph":0.000,"sep":0.000}

Looks good.

> Is this JSON flow normal for NMEA raw.log?

Yes.

So what again is your problem now?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpcZocivmGW4.pgp
Description: OpenPGP digital signature


reply via email to

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