gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] with matlab


From: Eric S. Raymond
Subject: Re: [gpsd-dev] with matlab
Date: Sat, 28 Mar 2015 13:14:57 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

13260129659 <address@hidden>:
>I'm new to gpsd. Now I want to get my position change information
>in a file,which just need longitude and latitude.I know gpsd fresh
>its data per second,is there any file that record the data?Or can I
>receive the longitude and latitude via TCP in matlab?Thanks!

It's easy to use the gpspipe utility to capture GPSD's reports to a file.

Sorry, I'm not familiar enough with matlab to tell you how to make that work
in any detail.  You can probably write code in it to open a TCP/IP connection
to port 2947, and I see there are JSON libraries that will help you unpack
its reports.

http://stackoverflow.com/questions/26787245/read-json-objects-with-matlab

You probably want to read the Client HOWTO:

http://www.catb.org/gpsd/client-howto.html

If you do succed in writing matlab client code, please consider putting
it on the matlab file exchange so others can use it.  Then send us the URL
so we can include it in our list of client implementations.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

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