gpsd-dev
[Top][All Lists]
Advanced

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

[gpsd-dev] 回复:Re: with matlab


From: 13260129659
Subject: [gpsd-dev] 回复:Re: with matlab
Date: Sun, 29 Mar 2015 21:30:20 +0800

thanks for reply. I have solve the problem by add some code into the script downloaded from the internet.So I did not study it with matlab.I will confirm you if I work it out some day.

在 "Eric S. Raymond" <address@hidden>,2015年3月29日 上午1:14写道:

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="" href="http://www.catb.org/~esr">http://www.catb.org/~esr/">Eric S. Raymond</a>


reply via email to

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