gpsd-users
[Top][All Lists]
Advanced

[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: Wed, 28 Jul 2021 12:26:30 -0700

Hello!

May I ask what would fix the issue if I have the warning: ncurses not found, not building cgps or gpsmon.

The commands I gave so far are 
# git clone https://gitlab.com/gpsd/gpsd.git
# cd gpsd
# scons --config=force && scons install


I assumed I was missing this command (apt-get install scons libncurses-dev python-dev pps-tools) considering the warning above and the instructions for the installation and building but I'm receiving this warning/error. May I ask what is the solution for this situation?
Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libncurses-dev armhf 6.1+20181013-2+deb10u2
  404  Not Found [IP: 192.168.1.1 80]
Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf pps-tools armhf 1.0.2-1
  404  Not Found [IP: 192.168.1.1 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/n/ncurses/libncurses-dev_6.1+20181013-2+deb10u2_armhf.deb  404  Not Found [IP: 192.168.1.1 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/pps-tools/pps-tools_1.0.2-1_armhf.deb  404  Not Found [IP: 192.168.1.1 80]
E: Internal Error, ordering was unable to handle the media swap

May I also ask how I would remove this gpsd program? sudo apt purge gpsd doesn't work in this case.

Sincerely,
Leon

On Tue, Jul 27, 2021 at 7:31 PM Gary E. Miller <gem@rellim.com> wrote:
Yo Aranza!

On Tue, 27 Jul 2021 21:15:11 -0700
Aranza Shaccid Leon <leon18@pnw.edu> wrote:

> 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?

Much depends on which distro you are using, but all explained where
I previously pointed you:

> >> This, and a whole lot more, is explained in INSTALL.adoc and
> >> building.adoc.  View online copies here:
> >>
> >>     https://gpsd.io/installation.html
> >>     https://gpsd.io/building.html

> I forgot to also ask, then if I wanted this gpscsv data (I was
> reading the link that was shared  https://gpsd.io/gpscsv.html  which
> is why I combined all of those commands together

That is clearly not a "why".

> and was wondering if
> that would work)

Asked, and answered:

> >> 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.

> 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?):

Try it and see.

> nano gpsdata.py

I have no idea what gpsdata.py is...

> 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?

Since I do not know what you are trying to do, I have no idea if
that does it.  But it does appear you are just over-writing the
same file.

I suggest that you learn by doing.

> If this does work,

I do not see it doing anything useful.

> 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?

Non-timestamped data is useless.  You want to merge the different
csv data sets using time as the common key.

> What type of command could exclusively work just to print out the
> latitude?

That is in the man page example.  I'm not here to read you the man page.

> 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).

gpscsv is new, so not much about it on the inner tubes yet.

This is UNIX, many ways to skin the cat.

> 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.

You'll just blow up Excel.

As I already said:

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

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
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]