[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] Strange loss of 3d fix
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-users] Strange loss of 3d fix |
Date: |
Mon, 19 Aug 2019 17:45:32 -0700 |
Yo Svenn!
On Sun, 18 Aug 2019 21:40:05 +0200
Svenn Are Bjerkem <address@hidden> wrote:
> On Fri, 16 Aug 2019 at 22:28, Gary E. Miller <address@hidden> wrote:
> > What does "gpsprof" and "gpsprof -t polar" show?
> >
>
> svenn@debian01:~/work/prg/git/gpsd$ ./gpsprof
> gpsprof: 10677 looking for fix...first fix in 0.03sec, gathering 100
> samples......(66.03 sec) done.
> set title noenhanced "2019-08-18T19:15:39, u-blox, 115200 8N1, cycle
> 1s\nSW EXT CORE 1.00 (94e56e),HW 00190000,ROM BASE
> 0x118B2060,FWVER=HPG
> 1.11,PROTVER=27.10,MOD=ZED-F9P,GPS;GLO;GAL;BDS,QZSS" Traceback (most
> recent call last): File "./gpsprof", line 1196, in <module>
> sys.stdout.write(plot.plot())
> File "./gpsprof", line 602, in plot
> ) % (calc_cep, calc_2drms, fmt_lab11a, cep100_meters,
> UnboundLocalError: local variable 'fmt_lab11a' referenced before
> assignment
Oh, sorry. Side effect of a recent change. Fix pushed to git head.
What did "gpsprof -t polar" show? I expected you to email me the
results.
Do this:
gpsprof -T png > scatter.plot
gpsprof -T png -f polar > polar.plot
Then email the plots to this list. You can see the results this way:
gnuplot scatter.plot > scatter.png
gnuplot polar.plot > polar.png
Then we can see you skyview and fix quality.
> svenn@debian01:~/work/prg/git/gpsd$ python -V
> Python 2.7.16+
>
> I also tried with python3 ./gpsprof and got same error.
> svenn@debian01:~/work/prg/git/gpsd$ python3 -V
> Python 3.7.4
gpsd runs fine on Python 2 and 3. The problem was change that had not been
fully completed.
> > I see NMEA, but no u-blox binary. Did you try to configure u-blox
> > binary? What does "ubxtool -p GNSS" say?
> >
>
> svenn@debian01:~/work/prg/git/gpsd$ ./ubxtool -p GNSS
> ubxtool: poll GNSS
>
> ubxtool: poll GNSS not found
I thought you had the release gpsd. The command changed recently in
git head. Since you are on git head, do this:
./ubxtool -p CFG-GNSS
[...]
UBX-CFG-GNSS:
msgVer 0 numTrkChHw 32 numTrkChUse 32 numConfigBlocks 7
gnssId 0 TrkCh 8 maxTrCh 16 reserved 0 Flags x01010001
GPS L1C/A enabled
gnssId 1 TrkCh 1 maxTrCh 3 reserved 0 Flags x01010001
SBAS L1C/A enabled
gnssId 2 TrkCh 4 maxTrCh 8 reserved 0 Flags x01010001
Galileo E1 enabled
gnssId 3 TrkCh 8 maxTrCh 16 reserved 0 Flags x01010000
BeiDou B1I
gnssId 4 TrkCh 0 maxTrCh 8 reserved 0 Flags x03010000
IMES L1
gnssId 5 TrkCh 0 maxTrCh 3 reserved 0 Flags x05010001
QZSS L1C/A enabled
gnssId 6 TrkCh 8 maxTrCh 14 reserved 0 Flags x01010000
GLONASS L1
You see I have GPS, SBAS, Galileo andf QZSS enabled. You will want
GLONASS enabled due to your high latitude. What does that give you?
> > I prefer:
> > gpspipe -w
> > and
> > gpspipe -R
> >
>
> gpspipe -R gives me ascii-characters for something which must be the
> pure undecoded binary data from the ubx protocol.
Yup. That is exactly what I wanted you to send to the list so we
could see it. An easy way to capture it:
gpspipe -w -n 300 > raw.log
The send raw.log to this email list so we can see what it happening.
> Is there a tool to pipe those characters into to convert them into
> readable hex data?
If you want real time decode, you do this:
ubxtool
But I prefer you send us the raw binary. You can see whbat is in the
ra.w log this way:
ubxtool -F raw.log
What did the "gpspipe -w" show you? I was expecting you to send that to
this list so we could see it. An easy way to capture it:
gpspipe -R -n 300 > json.log
> should I always use -P 27 to specify version of ubx protocol for f9p?
Yes, a few commands change depending on your protocol version. So best
to always use it. You can put that, once, into UBXOPTS, so it is always
there. Like this:
export UBXOPTS="-P 27"
ubxtool -p CFG-GNSS
To summarize, send us the output of:
gpsprof -T png > scatter.plot
gpsprof -T png -f polar > polar.plot
gpspipe -w -n 300 > raw.log
gpspipe -R -n 300 > json.log
That would be the files:
scatter.plot
polar.plot
raw.log
json.log
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
pgpcikmycc9RB.pgp
Description: OpenPGP digital signature