[Top][All Lists]

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

Re: Ublox and GPSD 3.22

From: Jeff Curtis
Subject: Re: Ublox and GPSD 3.22
Date: Thu, 30 Jun 2022 19:37:36 -0400

Hi Gary,

The last long is there it’s not updating. It’s always the same while the ecef 
positions change slightly. Depending on when I get the 3D fix it may constantly 
report all 0 while the ecef values are correct. 

I only use the -p to ensure the values are updating and not fixed at some point 
in time.  Ilwhen in pure bema mode the last long altitude will slightly change 

I did follow the document to build but I must have missed a step, it’s failing 
with a python not 2.7 or greater needed. 


Sent from my iPhone

> On Jun 30, 2022, at 6:54 PM, Gary E. Miller <> wrote:
> Yo Jeff!
>> On Thu, 30 Jun 2022 18:38:06 -0400
>> Jeff Curtis <> wrote:
>>    How did you set u-blox binary mode?  How did you look at the
>> JSON?
>> I start GPSD with this command gpsd -G -n -F /var/run/gpsd.sock
>> /dev/serial0 /dev/pps0, GPSD auto configures the device to Ublox
>> mode.
> Uh, you said you used the -p option to gpsd, that turns off the 
> auto configuration.
>> For the JSON I am using gps3 python  script and looking at the
>> TPV messages.
> We already know your program is broken in many ways.  See below for
> more info.
>> In Ublox mode the lat/lon/alt will not change but the
>> ECEF values are.
> I already pointed out many problems with yout program, please use
> cgps, xgps, or gpspipe to confirm that.  More info below.
>>> I am still trying to build the
>>> latest, to see if that will fix the problem I am having, but I am
>>> running into some other issues.  
>>    We can't debug what we can't see.  Send here the FULL build
>> log.  Did you follow the build instructions in build.adoc?
>> Agree —my issues, I built it from source before without problems,
>> haven’t had time to really look into it.  Will hopefully build it
>> correctly this weekend.  No questions regarding this, I just ran into
>> some configurations problems on my end with some packages.  
> Which means you did not read build.adoc...
>>> Has anyone seen anything similar? Why
>>> would gpsmon see the information update but not cgps/xgps? Thanks
>>> Jeff  
>>    gpsmon has its own, broken, decoder for u-blox raw.
>>    If you send us the raw data you see then someone can look at
>> it: gpspipe -R -x 20 > log.raw
>>    Then send here log.raw.  As well as how you configured the
>> device.
>> Attached is the raw capture
> You might have mentioned that sooner.  I see the lat/lon/alt in there
> just fine:
> $ gpsdecode < log.raw
> [...]
> {"class":"TPV","device":"stdin","mode":3,"time":"2022-06-30T22:32:55.000Z","leapseconds":18,"ept":0.005,"lat":40.303001046,"lon":-73.980277737,"altHAE":-4.1038,"altMSL":29.4545,"alt":29.4545,"epx":10.852,"epy":12.268,"epv":31.970,"track":154.0870,"magtrack":141.3743,"magvar":-12.7,"speed":0.110,"climb":-0.161,"eps":24.54,"epc":63.94,"ecefx":1344244.02,"ecefy":-4681853.05,"ecefz":4103698.79,"ecefvx":0.03,"ecefvy":0.07,"ecefvz":-0.18,"ecefpAcc":18.91,"ecefvAcc":0.43,"velN":-0.099,"velE":0.048,"velD":0.161,"geoidSep":-33.558,"eph":20.710,"sep":33.440}
> So your program is not decoding the data properly, but I already told
> you that.  See my previous comments on your code errors.  Then try the
> examples.
> ---------------------------------------------------------------------------
> 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

reply via email to

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