[Top][All Lists]

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

Re: COEX GPS (model UBX-M8030 IC) on Raspberry Pi 4 Model B 2018 connect

From: Aranza Shaccid Leon
Subject: Re: COEX GPS (model UBX-M8030 IC) on Raspberry Pi 4 Model B 2018 connection issues
Date: Tue, 27 Jul 2021 21:15:11 -0700

Hello and good evening!

Okay, I'll then attempt to download version 3.22, but I'm not sure how successful I'll be. Are the scons necessary for RPi's? 

I forgot to also ask, then if I wanted this gpscsv data (I was reading the link that was shared  which is why I combined all of those commands together and was wondering if that would work) that I mentioned in the previous email would I have to make a file with the commands below(--> latitude, longitude, altHAE, time, xdop, ydop,vdop,tdop,hdop,gdop,pdop, nSat, uSat, epx, epy,epv,eph, and sep?):

gpscsv -n 100 --cvt-isotime > gps.txt
gpscsv -n 100 --cvt-isotime -f time,epx,epy,epv,eph,sep > gps.txt
gpscsv -n 100 --cvt-isotime -c SKY > gps.txt
gpscsv -n 100 --cvt-isotime -c SKY -f time,nSat,uSat > gps.txt
Save the python file above and run it?

If this does work, my only issue is that I have repeating information (time) so is there a way to eliminate time in the other commands? Would getting rid of --cvt-isotime fix this?

gpscsv -n 100 --cvt-isotime > gps.txt
gpscsv -n 100 -f epx,epy,epv,eph,sep > gps.txt
gpscsv -n 100 -c SKY > gps.txt
gpscsv -n 100 -c SKY -f nSat,uSat > gps.txt

What type of command could exclusively work just to print out the latitude? I've been searching for these possible commands for a while, but most of my information is working with gpspipe or others are working with different language programs (such as Perl or Java). I have already used gpspipe, but I'm trying to make my information more organized hence why I'm asking about gpscsv, especially since I want to move my information from the text file into an Excel sheet.

Thank you for your time and consideration.


On Tue, Jul 27, 2021 at 8:44 PM Aranza Shaccid Leon <> wrote:
Hello and good evening!

Okay thank you, I was just asking around about Mavlink because I haven't been able to find good enough information on how Mavlink is able to connect to Putty/Linux type shells and how to access this connection.

To exclusively access/download gpscsv, would using wget work?

Thank you for your time and consideration.


On Tue, Jul 27, 2021 at 6:25 PM Gary E. Miller <> wrote:
Yo Aranza!

On Tue, 27 Jul 2021 19:20:03 -0700
Aranza Shaccid Leon <> wrote:

> May I ask if I used the command gpscsv -n 50 --cvt-isotime epx,
> epy,epv,eph,sep -c SKY -f nSat, uSat > gps.txt  would this print out
> latitude, longitude, altHAE, time, xdop,
> ydop,vdop,tdop,hdop,gdop,pdop, nSat, uSat, epx, epy,epv,eph, and sep?

Nope.  Many problems with that.  I suggest you try something much
simpler, like the examples from the man page, while keeping the man page
in front of you.

For starters:

1) you are missing -f in front of epx.

2) "-c SKY" says to read from class SKY, only.  No epx, epy, etc in SKY,
they are in TPV.

3) you never specified latitude, longitude, altHAE, so they will not
be printed.

> Essentially almost all the data possible from cgps and gpsmon?

Your list is not even close to all the possible data from gpsd.

gpscsv can only print one class at a time, so you would need to do
a post process to get the data merged.  Assuming your receiver is
even outputting that data.

> I've
> been searching for git repository, but I'm not sure if this link is
> the correct location to obtain gpscsv    Files · master · gpsd / gpsd
> · GitLab <> ?

Yes, that is the correct link for the web viewer.  To work with it you
will need a local copy.

> I would be using the command git clone (the url/link of the webpage) ?

    # git clone

This, and a whole lot more, is explained in INSTALL.adoc and
building.adoc.  View online copies here:

> Also while I understand your dislike of systemd, may I ask if there
> is any way to connect through Mavlink to a GPS port?

I don't understand the question.  I have no idea what MavLink is?  And
I don't answer questions on systemd(umber).  Since I do not use it I
am not the right person to ask about it.  Me answering would be like a
plumber ansering an electrical question.

> I've been
> researching what the connection port could be for the GPS from the
> flight controller and found that the mavlink protocol just allows the
> flight controller to pass all the telemetry data, including GPS data
> into some mavros programs that drone has.

I'll have to take your word for it.  I know nothing of what you speak.

> For this reason, I've been
> investigating what these ports are on the NuttX shell that Mavlink
> has and found that it has ttyACM0 (the USB port of the flight
> controller) and that the port for the GPS is ttyS3.

I have no idea what NuttX is, what it does, or what you are trying to
do with it.

> I'm however not
> working on this NuttX shell for gpsd so I wished to ask if there is
> anyway to connect the NuttX with my Putty SSH shell?

I never heard of NuttX, I don't use Putty, and I don't even understand
the question.

> Or if in your
> prior experience, there should be a path in /dev that connects these
> two?

Sorry, I'm totally lost about the tools you are using and what you
wish to do with them.

I suggest you back way up and start with some simple things, that you
can thn build upon, before heading out into virgin territory.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
CAUTION: This email originated from outside of the PNW environment. Do not click links or open attachments unless you recognize the sender and know the content is safe.

reply via email to

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