gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] GPSD - How to create a virtual GPS Source with lat/lon


From: Hammenecker, Jules
Subject: Re: [gpsd-users] GPSD - How to create a virtual GPS Source with lat/lon as input
Date: Thu, 28 Feb 2019 07:17:21 +0000

Hi Gary,

Thank your for the answer! 
I've looked at gpsfake which is indeed almost what is needed. 
However, I would like to update the lat/lon every second or so, so should I 
stop gpsfake, update the file and relaunch gspfake? Or can gpsfake accept named 
pipes?

Kind regards (and my apologies for my previous mail signature, was not intended 
😉 ) ,

Jules.  

-----Original Message-----
From: gpsd-users <address@hidden> On Behalf Of Gary E. Miller
Sent: February-27-19 8:14 PM
To: address@hidden
Subject: Re: [gpsd-users] GPSD - How to create a virtual GPS Source with 
lat/lon as input

Yo Jules!

On Wed, 27 Feb 2019 11:07:46 +0000
"Hammenecker, Jules" <address@hidden> wrote:

>  have a system that uses gpsd as a source for positioning. I need to 
> integrate it with another system that gives me latitude, longitude & 
> time.

Cool.

> I was able to generate NMEA sentences using nmealib:
> address@hidden :~/Desktop/nmealib$ build/samples_generate

Interesting.  Just be aware that there is no real NMEA standard...

> $GPGGA,154400.00,5000.0000,N,3600.0000,E,3,01,0.0,10.9,M,0.0,M,0.0,000
> 0*7d

Looks good.

> $GPGSA,A,3,00,00,00,00,00,00,00,00,00,00,00,00,0.0,0.0,0.0*32
> $GPGSV,1,1,01,00,00,000,00,00,00,000,00,00,00,000,00,00,00,000,00*78

Those two do not look correct...

> My goal was then to pipe this to gpsd.

Have we got a deal for you.  Did you look at gpsfake?  Did you notice all the 
regression file in tess/daemon?

gpsfake reads any GPS capture file (binary, NMEA, etc), and feeds to to gpsd.  
Check out the man page.  Run "scons check" to watch it work.

> This e-mail and any attachments thereto, is intended only for use by 
> the addressee(s) named herein and may contain legally privileged 
> and/or confidential information.

Too late.  And not legally enforceable.

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

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

reply via email to

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