gpsd-users
[Top][All Lists]
Advanced

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

Re: How to avoid 1Hz batching of 10Hz GPS fixes?


From: Chris Dew
Subject: Re: How to avoid 1Hz batching of 10Hz GPS fixes?
Date: Fri, 18 Oct 2024 16:27:36 +0100
User-agent: Mozilla Thunderbird

P.S.  The output of ubxtool has changed significantly since I used:

root@999AAAAA:~/gpsd# export UBXOPTS="-P 34.10"

"ubxtool -t" still shows the 1Hz batching of 10Hz fixes.

Send the output of "ubxtool -P CONFIG" and "ubxtool -P STATUS"
A lower-case "p" gives some output.  Not sure if this is what is needed.

root@999AAAAA:~/gpsd# ./gpsd-3.25.1~dev/clients/ubxtool -p CONFIG
UBX-NAV-PVT:
  iTOW 487172500 time 2024/10/18 15:19:14 valid x37
  tAcc 22 nano 500405117 fixType 3 flags x1 flags2 xea
  numSV 18 lon -21990772 lat 522227088 height 80813
  hMSL 32581 hAcc 675 vAcc 1036
  velN -28 velE 69 velD -9 gSpeed 75 headMot 11443566
  sAcc 93 headAcc 3851966 pDOP 153 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487172600 time 2024/10/18 15:19:14 valid x37
  tAcc 22 nano 600405127 fixType 3 flags x1 flags2 xea
  numSV 19 lon -21990774 lat 522227089 height 80817
  hMSL 32585 hAcc 675 vAcc 1036
  velN -28 velE -30 velD 7 gSpeed 41 headMot 11443566
  sAcc 105 headAcc 3852089 pDOP 153 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487172700 time 2024/10/18 15:19:14 valid x37
  tAcc 22 nano 700405137 fixType 3 flags x1 flags2 xea
  numSV 17 lon -21990774 lat 522227089 height 80833
  hMSL 32601 hAcc 674 vAcc 1036
  velN -64 velE -2 velD 0 gSpeed 64 headMot 11443566
  sAcc 124 headAcc 3852234 pDOP 163 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487172800 time 2024/10/18 15:19:14 valid x37
  tAcc 22 nano 800405148 fixType 3 flags x1 flags2 xea
  numSV 17 lon -21990775 lat 522227089 height 80822
  hMSL 32589 hAcc 674 vAcc 1035
  velN 5 velE -25 velD 25 gSpeed 26 headMot 11443566
  sAcc 102 headAcc 3852354 pDOP 153 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487172900 time 2024/10/18 15:19:14 valid x37
  tAcc 22 nano 900405158 fixType 3 flags x1 flags2 xea
  numSV 17 lon -21990776 lat 522227090 height 80844
  hMSL 32612 hAcc 674 vAcc 1035
  velN -33 velE -6 velD 10 gSpeed 34 headMot 11443566
  sAcc 124 headAcc 3852499 pDOP 153 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487173000 time 2024/10/18 15:19:15 valid x37
  tAcc 22 nano 405168 fixType 3 flags x1 flags2 xea
  numSV 17 lon -21990775 lat 522227092 height 80885
  hMSL 32652 hAcc 673 vAcc 1034
  velN 8 velE -14 velD -7 gSpeed 16 headMot 11443566
  sAcc 101 headAcc 3852617 pDOP 153 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-POSECEF:
  iTOW 487173000 ecefX 391256933 Y -15024267 Z 501808583 pAcc 123

UBX-NAV-PVT:
  iTOW 487173200 time 2024/10/18 15:19:15 valid x37
  tAcc 22 nano 200405188 fixType 3 flags x1 flags2 xea
  numSV 17 lon -21990776 lat 522227095 height 80901
  hMSL 32669 hAcc 672 vAcc 1033
  velN 8 velE 21 velD 9 gSpeed 22 headMot 11443566
  sAcc 70 headAcc 3852826 pDOP 153 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-EOE:
 iTOW 487173200

UBX-NAV-PVT:
  iTOW 487173300 time 2024/10/18 15:19:15 valid x37
  tAcc 22 nano 300405198 fixType 3 flags x1 flags2 xea
  numSV 16 lon -21990776 lat 522227096 height 80919
  hMSL 32687 hAcc 671 vAcc 1032
  velN -29 velE 15 velD 4 gSpeed 33 headMot 11443566
  sAcc 113 headAcc 3852958 pDOP 153 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487173400 time 2024/10/18 15:19:15 valid x37
  tAcc 22 nano 400405208 fixType 3 flags x1 flags2 xea
  numSV 16 lon -21990777 lat 522227097 height 80923
  hMSL 32690 hAcc 671 vAcc 1031
  velN 5 velE -7 velD 16 gSpeed 9 headMot 11443566
  sAcc 100 headAcc 3853075 pDOP 153 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487173500 time 2024/10/18 15:19:15 valid x37
  tAcc 22 nano 500405219 fixType 3 flags x1 flags2 xea
  numSV 16 lon -21990777 lat 522227097 height 80916
  hMSL 32684 hAcc 670 vAcc 1031
  velN -8 velE 45 velD 31 gSpeed 46 headMot 11443566
  sAcc 84 headAcc 3853174 pDOP 163 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-POSECEF:
  iTOW 487173500 ecefX 391256931 Y -15024268 Z 501808589 pAcc 123

UBX-NAV-PVT:
  iTOW 487173600 time 2024/10/18 15:19:15 valid x37
  tAcc 22 nano 600405229 fixType 3 flags x1 flags2 xea
  numSV 16 lon -21990777 lat 522227098 height 80941
  hMSL 32708 hAcc 669 vAcc 1030
  velN -22 velE -8 velD 10 gSpeed 23 headMot 11443566
  sAcc 99 headAcc 3853289 pDOP 163 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487173700 time 2024/10/18 15:19:15 valid x37
  tAcc 22 nano 700405239 fixType 3 flags x1 flags2 xea
  numSV 16 lon -21990778 lat 522227099 height 80925
  hMSL 32692 hAcc 669 vAcc 1029
  velN 33 velE -58 velD 33 gSpeed 67 headMot 11443566
  sAcc 97 headAcc 3853403 pDOP 163 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487173800 time 2024/10/18 15:19:15 valid x37
  tAcc 22 nano 800405249 fixType 3 flags x1 flags2 xea
  numSV 17 lon -21990778 lat 522227100 height 80955
  hMSL 32723 hAcc 668 vAcc 1029
  velN -12 velE -16 velD 5 gSpeed 20 headMot 11443566
  sAcc 76 headAcc 3853492 pDOP 163 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487173900 time 2024/10/18 15:19:15 valid x37
  tAcc 22 nano 900405259 fixType 3 flags x1 flags2 xea
  numSV 16 lon -21990777 lat 522227101 height 80967
  hMSL 32734 hAcc 668 vAcc 1028
  velN -49 velE 86 velD 6 gSpeed 99 headMot 11443566
  sAcc 96 headAcc 3853608 pDOP 163 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487174000 time 2024/10/18 15:19:16 valid x37
  tAcc 22 nano 405269 fixType 3 flags x1 flags2 xea
  numSV 17 lon -21990777 lat 522227102 height 80986
  hMSL 32753 hAcc 667 vAcc 1028
  velN -45 velE 3 velD -6 gSpeed 45 headMot 11443566
  sAcc 112 headAcc 3853738 pDOP 163 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-POSECEF:
  iTOW 487174000 ecefX 391256931 Y -15024268 Z 501808598 pAcc 123

UBX-NAV-PVT:
  iTOW 487174100 time 2024/10/18 15:19:16 valid x37
  tAcc 22 nano 100405279 fixType 3 flags x1 flags2 xea
  numSV 17 lon -21990778 lat 522227103 height 80985
  hMSL 32753 hAcc 667 vAcc 1027
  velN 28 velE -34 velD 9 gSpeed 43 headMot 11443566
  sAcc 107 headAcc 3853863 pDOP 163 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487174200 time 2024/10/18 15:19:16 valid x37
  tAcc 22 nano 200405290 fixType 3 flags x1 flags2 xea
  numSV 16 lon -21990778 lat 522227104 height 80993
  hMSL 32760 hAcc 666 vAcc 1027
  velN 16 velE -32 velD 12 gSpeed 36 headMot 11443566
  sAcc 100 headAcc 3853981 pDOP 163 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-POSECEF:
  iTOW 487174300 ecefX 391256929 Y -15024268 Z 501808603 pAcc 122

UBX-NAV-EOE:
 iTOW 487174300

UBX-NAV-PVT:
  iTOW 487174400 time 2024/10/18 15:19:16 valid x37
  tAcc 22 nano 400405310 fixType 3 flags x1 flags2 xea
  numSV 16 lon -21990777 lat 522227107 height 81032
  hMSL 32799 hAcc 665 vAcc 1026
  velN 20 velE -3 velD -7 gSpeed 21 headMot 11443566
  sAcc 124 headAcc 3854241 pDOP 163 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-POSECEF:
  iTOW 487174400 ecefX 391256929 Y -15024268 Z 501808605 pAcc 122


root@999AAAAA:~/gpsd# ./gpsd-3.25.1~dev/clients/ubxtool -p STATUS
UBX-NAV-PVT:
  iTOW 487045400 time 2024/10/18 15:17:07 valid x37
  tAcc 24 nano 400392138 fixType 3 flags x1 flags2 xea
  numSV 16 lon -21990915 lat 522226666 height 80176
  hMSL 31944 hAcc 1106 vAcc 1712
  velN 82 velE -17 velD -20 gSpeed 84 headMot 30221786
  sAcc 148 headAcc 4213783 pDOP 291 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487045500 time 2024/10/18 15:17:07 valid x37
  tAcc 24 nano 500392148 fixType 3 flags x1 flags2 xea
  numSV 18 lon -21990914 lat 522226663 height 80150
  hMSL 31917 hAcc 1106 vAcc 1711
  velN -23 velE -10 velD 3 gSpeed 25 headMot 30221786
  sAcc 132 headAcc 4213924 pDOP 291 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-POSECEF:
  iTOW 487045600 ecefX 391257263 Y -15024373 Z 501808233 pAcc 204

UBX-NAV-PVT:
  iTOW 487045700 time 2024/10/18 15:17:07 valid x37
  tAcc 24 nano 700392169 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990910 lat 522226662 height 80177
  hMSL 31945 hAcc 1105 vAcc 1709
  velN -14 velE 30 velD -36 gSpeed 33 headMot 30221786
  sAcc 106 headAcc 4214166 pDOP 291 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-POSECEF:
  iTOW 487045700 ecefX 391257265 Y -15024372 Z 501808234 pAcc 203

UBX-NAV-EOE:
 iTOW 487045700

UBX-NAV-POSECEF:
  iTOW 487045800 ecefX 391257265 Y -15024370 Z 501808230 pAcc 203

UBX-NAV-PVT:
  iTOW 487045900 time 2024/10/18 15:17:07 valid x37
  tAcc 24 nano 900392189 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990907 lat 522226660 height 80168
  hMSL 31935 hAcc 1104 vAcc 1707
  velN 97 velE 11 velD -33 gSpeed 98 headMot 30221786
  sAcc 152 headAcc 4214432 pDOP 291 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487046000 time 2024/10/18 15:17:08 valid x37
  tAcc 24 nano 392199 fixType 3 flags x1 flags2 xea
  numSV 16 lon -21990908 lat 522226657 height 80128
  hMSL 31895 hAcc 1104 vAcc 1706
  velN 29 velE -38 velD -1 gSpeed 48 headMot 30221786
  sAcc 131 headAcc 4214572 pDOP 291 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-POSECEF:
  iTOW 487046000 ecefX 391257266 Y -15024370 Z 501808227 pAcc 203

UBX-NAV-VELECEF:
  iTOW 487046000 ecef: VX -2 VY -4 VZ 2 vAcc:13

UBX-NAV-PVT:
  iTOW 487046100 time 2024/10/18 15:17:08 valid x37
  tAcc 24 nano 100392210 fixType 3 flags x1 flags2 xea
  numSV 17 lon -21990907 lat 522226657 height 80155
  hMSL 31922 hAcc 1103 vAcc 1705
  velN -16 velE -59 velD -40 gSpeed 61 headMot 30221786
  sAcc 88 headAcc 4214666 pDOP 291 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487046200 time 2024/10/18 15:17:08 valid x37
  tAcc 24 nano 200392220 fixType 3 flags x1 flags2 xea
  numSV 17 lon -21990905 lat 522226656 height 80134
  hMSL 31901 hAcc 1103 vAcc 1703
  velN 34 velE 45 velD -12 gSpeed 56 headMot 30221786
  sAcc 111 headAcc 4214784 pDOP 291 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487046300 time 2024/10/18 15:17:08 valid x37
  tAcc 24 nano 300392230 fixType 3 flags x1 flags2 xea
  numSV 16 lon -21990904 lat 522226653 height 80098
  hMSL 31866 hAcc 1102 vAcc 1702
  velN -25 velE 56 velD 14 gSpeed 61 headMot 30221786
  sAcc 117 headAcc 4214909 pDOP 291 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-POSECEF:
  iTOW 487046300 ecefX 391257267 Y -15024368 Z 501808222 pAcc 203

UBX-NAV-VELECEF:
  iTOW 487046300 ecef: VX 1 VY 6 VZ -3 vAcc:12

UBX-NAV-POSECEF:
  iTOW 487046400 ecefX 391257268 Y -15024367 Z 501808223 pAcc 203

UBX-NAV-EOE:
 iTOW 487046400

UBX-NAV-PVT:
  iTOW 487046500 time 2024/10/18 15:17:08 valid x37
  tAcc 24 nano 500392251 fixType 3 flags x1 flags2 xea
  numSV 16 lon -21990904 lat 522226652 height 80075
  hMSL 31843 hAcc 1101 vAcc 1700
  velN 81 velE -49 velD 10 gSpeed 94 headMot 30221786
  sAcc 135 headAcc 4215212 pDOP 291 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487046600 time 2024/10/18 15:17:08 valid x37
  tAcc 24 nano 600392261 fixType 3 flags x1 flags2 xea
  numSV 16 lon -21990903 lat 522226650 height 80074
  hMSL 31841 hAcc 1101 vAcc 1699
  velN -6 velE 20 velD 1 gSpeed 20 headMot 30221786
  sAcc 108 headAcc 4215327 pDOP 291 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487046700 time 2024/10/18 15:17:08 valid x37
  tAcc 24 nano 700392271 fixType 3 flags x1 flags2 xea
  numSV 15 lon -21990902 lat 522226649 height 80082
  hMSL 31850 hAcc 1100 vAcc 1698
  velN 1 velE 14 velD -24 gSpeed 14 headMot 30221786
  sAcc 113 headAcc 4215447 pDOP 291 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-POSECEF:
  iTOW 487046700 ecefX 391257270 Y -15024366 Z 501808218 pAcc 202

UBX-NAV-PVT:
  iTOW 487046800 time 2024/10/18 15:17:08 valid x37
  tAcc 24 nano 800392281 fixType 3 flags x1 flags2 xea
  numSV 16 lon -21990902 lat 522226648 height 80071
  hMSL 31838 hAcc 1100 vAcc 1697
  velN -1 velE -55 velD -19 gSpeed 55 headMot 30221786
  sAcc 97 headAcc 4215550 pDOP 291 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487046900 time 2024/10/18 15:17:08 valid x37
  tAcc 24 nano 900392292 fixType 3 flags x1 flags2 xea
  numSV 15 lon -21990901 lat 522226647 height 80056
  hMSL 31824 hAcc 1099 vAcc 1696
  velN 32 velE 5 velD -7 gSpeed 33 headMot 30221786
  sAcc 145 headAcc 4215705 pDOP 164 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487047000 time 2024/10/18 15:17:09 valid x37
  tAcc 24 nano 392302 fixType 3 flags x1 flags2 xea
  numSV 15 lon -21990900 lat 522226646 height 80060
  hMSL 31827 hAcc 1099 vAcc 1695
  velN -49 velE 9 velD -17 gSpeed 50 headMot 30221786
  sAcc 129 headAcc 4215843 pDOP 280 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-POSECEF:
  iTOW 487047000 ecefX 391257271 Y -15024365 Z 501808214 pAcc 202

UBX-NAV-POSECEF:
  iTOW 487047100 ecefX 391257271 Y -15024365 Z 501808208 pAcc 202

UBX-NAV-PVT:
  iTOW 487047200 time 2024/10/18 15:17:09 valid x37
  tAcc 24 nano 200392322 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990899 lat 522226644 height 80037
  hMSL 31805 hAcc 1098 vAcc 1693
  velN 38 velE -14 velD -2 gSpeed 41 headMot 30221786
  sAcc 149 headAcc 4216131 pDOP 291 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-PVT:
  iTOW 487047300 time 2024/10/18 15:17:09 valid x37
  tAcc 24 nano 300392333 fixType 3 flags x1 flags2 xea
  numSV 15 lon -21990899 lat 522226641 height 80019
  hMSL 31787 hAcc 1097 vAcc 1692
  velN -31 velE -5 velD 2 gSpeed 32 headMot 30221786
  sAcc 145 headAcc 4216286 pDOP 291 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

UBX-NAV-POSECEF:
  iTOW 487047300 ecefX 391257273 Y -15024364 Z 501808207 pAcc 202

UBX-MON-HW:
  Bad Length 56



On 18/10/2024 11:48, Chris Dew wrote:
Hi Gary,

Thanks for your help.

But, before you do any of that, update to gpsd 3.25 or better yet git head.
Now using HEAD:

{"class":"VERSION","release":"3.25.1~dev","rev":"release-3.25-658-gd3a6e3924","proto_major":3,"proto_minor":15}

    serial or USB connection,  
serial
What speed?
9600

{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttymxc1","driver":"u-blox","activated":"2024-10-18T10:23:38.545Z","flags":1,"native":1,"bps":9600,"parity":"N","stop...

Send the output of "ubxtool -P CONFIG" and "ubxtool -P STATUS"
root@999AAAAA:~/gpsd# ./gpsd-3.25.1~dev/clients/ubxtool -P CONFIG
usage: ubxtool [OPTIONS] [host[:port[:device]]]
ubxtool: error: argument -P/--protver: invalid float value: 'CONFIG'

root@999AAAAA:~/gpsd# ./gpsd-3.25.1~dev/clients/ubxtool -P STATUS
usage: ubxtool [OPTIONS] [host[:port[:device]]]
ubxtool: error: argument -P/--protver: invalid float value: 'STATUS'


I know this isn't the output you were looking for, but nothing was obvious from --help:

root@999AAAAA:~/gpsd# ./gpsd-3.25.1~dev/clients/ubxtool -V
ubxtool: Version 3.25.1~dev
root@999AAAAA:~/gpsd# ./gpsd-3.25.1~dev/clients/ubxtool --help | grep -i CONFIG
                        Configure receiver speed to SETSPEED
root@999AAAAA:~/gpsd# ./gpsd-3.25.1~dev/clients/ubxtool --help | grep -I STATUS
root@999AAAAA:~/gpsd# ./gpsd-3.25.1~dev/clients/ubxtool --help | grep P
usage: ubxtool [OPTIONS] [host[:port[:device]]]
  -g ITEM,LAYER,POSITION, --getitem ITEM,LAYER,POSITION
                        Get ITEM from LAYER and POSITION. LAYER and POSITION
  -i PORTID, -portid PORTID
                        Specifies receiver PORTID (interface) for port-related
  --port PORT           The gpsd port to connect to. [Default 2947]
  -p PRESET, --preset PRESET
                        Poll the receiver for PRESET. May be used multiple
  -P PROTVER, --protver PROTVER
                        Protocol version for sending commands. [Default 10.0]
  -r, --readonly        Read only. Do not send anything to the GPS.
  -s SPEED, --inspeed SPEED
                        Set local serial port speed to SPEED bps.
  -S SPEED, --setspeed SPEED
                        Configure receiver speed to SETSPEED.
BSD terms apply: see the file COPYING in the distribution root for details.
Options can be placed in the UBXOPTS environment variable.
UBXOPTS is processed before the CLI options.


Or "ubxtool -t".  Try ubstool both with, and without gpsd running.
Using ubxtool -t when gpsd is running shows 8 and 9 batched UBX-NAV_PVT messages per second.

Notice that the (bold/underlined) arrival times are batched, but that the "nano" times are correctly 100ms apart.

root@999AAAAA:~/gpsd# ./gpsd-3.25.1~dev/clients/ubxtool -t
1729247505.8588
UBX-NAV-PVT:
  iTOW 469910700 time 2024/10/18 10:31:32 valid x37
  tAcc 23 nano 699792212 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990801 lat 522227097 height 91896
  hMSL 43663 hAcc 1075 vAcc 1243
  velN 3 velE 18 velD -23 gSpeed 19 headMot 643516
  sAcc 130 headAcc 4493776 pDOP 199 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247505.8604
UBX-NAV-PVT:
  iTOW 469910800 time 2024/10/18 10:31:32 valid x37
  tAcc 23 nano 799792222 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990799 lat 522227099 height 91930
  hMSL 43698 hAcc 1075 vAcc 1244
  velN -36 velE 29 velD -31 gSpeed 46 headMot 643516
  sAcc 102 headAcc 4493878 pDOP 221 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247505.8610
UBX-NAV-POSECEF:
  iTOW 469910800 ecefX 391257603 Y -15024309 Z 501809461 pAcc 164

1729247505.8620
UBX-NAV-PVT:
  iTOW 469910900 time 2024/10/18 10:31:32 valid x37
  tAcc 23 nano 899792231 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990797 lat 522227102 height 91984
  hMSL 43751 hAcc 1075 vAcc 1244
  velN 48 velE 37 velD -47 gSpeed 60 headMot 643516
  sAcc 161 headAcc 4494040 pDOP 221 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247505.8633
UBX-NAV-PVT:
  iTOW 469911000 time 2024/10/18 10:31:33 valid x37
  tAcc 23 nano -207758 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990798 lat 522227103 height 91986
  hMSL 43754 hAcc 1076 vAcc 1245
  velN 37 velE -83 velD -29 gSpeed 91 headMot 643516
  sAcc 111 headAcc 4494151 pDOP 221 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247505.8639
UBX-NAV-DOP:
  iTOW 469911100 gDOP 261 pDOP 221 tDOP 139 vDOP 184
  hDOP 123 nDOP 109 eDOP 58

1729247505.8642
UBX-NAV-TIMEGPS:
  iTOW 469911100 fTOW -207748 week 2336 leapS 18 valid x7 tAcc 3

1729247505.8652
UBX-NAV-PVT:
  iTOW 469911200 time 2024/10/18 10:31:33 valid x37
  tAcc 23 nano 199792261 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990794 lat 522227104 height 92038
  hMSL 43806 hAcc 1076 vAcc 1246
  velN -43 velE 0 velD -37 gSpeed 43 headMot 643516
  sAcc 95 headAcc 4494359 pDOP 221 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247505.8657
UBX-NAV-EOE:
 iTOW 469911200

1729247505.8660
UBX-NAV-POSECEF:
  iTOW 469911300 ecefX 391257604 Y -15024305 Z 501809474 pAcc 165

1729247505.8671
UBX-NAV-PVT:
  iTOW 469911400 time 2024/10/18 10:31:33 valid x37
  tAcc 23 nano 399792280 fixType 3 flags x1 flags2 xea
  numSV 13 lon -21990792 lat 522227106 height 92058
  hMSL 43825 hAcc 1076 vAcc 1247
  velN 41 velE 37 velD -12 gSpeed 55 headMot 643516
  sAcc 136 headAcc 4494643 pDOP 221 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247505.8678
UBX-NAV-POSECEF:
  iTOW 469911400 ecefX 391257604 Y -15024304 Z 501809476 pAcc 165

1729247505.8681
UBX-NAV-VELECEF:
  iTOW 469911400 ecef: VX -2 VY 4 VZ 3 vAcc:14

1729247505.8691
UBX-NAV-PVT:
  iTOW 469911500 time 2024/10/18 10:31:33 valid x37
  tAcc 23 nano 499792290 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990792 lat 522227105 height 92065
  hMSL 43832 hAcc 1077 vAcc 1248
  velN -43 velE -19 velD -17 gSpeed 47 headMot 643516
  sAcc 109 headAcc 4494752 pDOP 221 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247505.8703
UBX-NAV-PVT:
  iTOW 469911700 time 2024/10/18 10:31:33 valid x37
  tAcc 23 nano 699792310 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990789 lat 522227109 height 92140
  hMSL 43908 hAcc 1077 vAcc 1249
  velN -43 velE -60 velD -24 gSpeed 74 headMot 643516
  sAcc 86 headAcc 4494951 pDOP 221 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247506.9207
UBX-NAV-PVT:
  iTOW 469911800 time 2024/10/18 10:31:33 valid x37
  tAcc 23 nano 799792319 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990787 lat 522227111 height 92146
  hMSL 43913 hAcc 1077 vAcc 1249
  velN 136 velE 86 velD -2 gSpeed 161 headMot 2099617
  sAcc 135 headAcc 3956064 pDOP 221 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247506.9222
UBX-NAV-PVT:
  iTOW 469911900 time 2024/10/18 10:31:33 valid x37
  tAcc 23 nano 899792329 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990787 lat 522227110 height 92151
  hMSL 43918 hAcc 1077 vAcc 1250
  velN -47 velE -35 velD 2 gSpeed 59 headMot 2099617
  sAcc 133 headAcc 3956215 pDOP 221 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247506.9228
UBX-NAV-POSECEF:
  iTOW 469911900 ecefX 391257607 Y -15024300 Z 501809486 pAcc 165

1729247506.9239
UBX-NAV-PVT:
  iTOW 469912000 time 2024/10/18 10:31:34 valid x37
  tAcc 23 nano -207660 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990785 lat 522227114 height 92212
  hMSL 43979 hAcc 1077 vAcc 1250
  velN 59 velE -25 velD -26 gSpeed 65 headMot 2099617
  sAcc 168 headAcc 3956406 pDOP 199 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247506.9245
UBX-NAV-POSECEF:
  iTOW 469912000 ecefX 391257607 Y -15024299 Z 501809493 pAcc 165

1729247506.9254
UBX-NAV-PVT:

  iTOW 469912100 time 2024/10/18 10:31:34 valid x37
  tAcc 23 nano 99792349 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990785 lat 522227112 height 92206
  hMSL 43973 hAcc 1077 vAcc 1250
  velN -65 velE -28 velD -2 gSpeed 70 headMot 2099617
  sAcc 141 headAcc 3956567 pDOP 204 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247506.9267
UBX-NAV-PVT:
  iTOW 469912200 time 2024/10/18 10:31:34 valid x37
  tAcc 23 nano 199792359 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990783 lat 522227114 height 92225
  hMSL 43993 hAcc 1078 vAcc 1251
  velN 29 velE 49 velD 8 gSpeed 57 headMot 2099617
  sAcc 93 headAcc 3956672 pDOP 204 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247506.9279
UBX-NAV-PVT:
  iTOW 469912300 time 2024/10/18 10:31:34 valid x37
  tAcc 23 nano 299792368 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990782 lat 522227119 height 92302
  hMSL 44070 hAcc 1078 vAcc 1251
  velN 54 velE -41 velD -19 gSpeed 67 headMot 2099617
  sAcc 148 headAcc 3956841 pDOP 204 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247506.9291
UBX-NAV-PVT:
  iTOW 469912400 time 2024/10/18 10:31:34 valid x37
  tAcc 23 nano 399792378 fixType 3 flags x1 flags2 xea
  numSV 14 lon -21990782 lat 522227116 height 92281
  hMSL 44048 hAcc 1078 vAcc 1251
  velN -75 velE -26 velD 16 gSpeed 80 headMot 2099617
  sAcc 161 headAcc 3957024 pDOP 204 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247506.9304
UBX-NAV-PVT:
  iTOW 469912500 time 2024/10/18 10:31:34 valid x37
  tAcc 23 nano 499792388 fixType 3 flags x1 flags2 xea
  numSV 13 lon -21990779 lat 522227122 height 92364
  hMSL 44131 hAcc 1078 vAcc 1251
  velN 81 velE 13 velD -25 gSpeed 82 headMot 2099617
  sAcc 174 headAcc 3957222 pDOP 204 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

1729247506.9316
UBX-NAV-PVT:
  iTOW 469912600 time 2024/10/18 10:31:34 valid x37
  tAcc 23 nano 599792398 fixType 3 flags x1 flags2 xea
  numSV 13 lon -21990779 lat 522227121 height 92364
  hMSL 44132 hAcc 1078 vAcc 1252
  velN -26 velE -19 velD -7 gSpeed 32 headMot 2099617
  sAcc 111 headAcc 3957349 pDOP 204 reserved1 0 16476 12118
  headVeh 3102272 magDec 0 magAcc 0

without gpsd running.
Using ubxtool -t when gpsd is stopped:

root@999AAAAA:~/gpsd# ./gpsd-3.25.1~dev/clients/ubxtool -t
ubxtool: failed to connect to gpsd [Errno 111] Connection refused


Can I make ubxtool connect directly to /dev/ttymxc1, without gpsd?  I tried:

root@999AAAAA:~/gpsd# ./gpsd-3.25.1~dev/clients/ubxtool --device=/dev/ttymxc1
ubxtool: failed to connect to gpsd [Errno 111] Connection refused



All the best, Chris.



On 16/10/2024 21:08, Gary E. Miller wrote:
Yo Chris!

On Wed, 16 Oct 2024 10:46:11 +0100
Chris Dew <chris.dew@thorcom.co.uk> wrote:

    what version gpsd,  
root@C934E761:~# gpsd --version
gpsd: *3.22* (revision 3.22)
That is almost 4 year old.  A lot of fix and improvements since then

    gpsd binary from where,  
root@C934E761:~# dpkg --list | grep gpsd | head -1
ii  gpsd 3.22-4+devuan2                     arm64        Global 
Positioning System - daemon
You need to file a bug with them.  Shame on them for shipping old stuff.

    what hardware are you running on  
iMX8M
That is a family name, not a model number.  What model number?
Quad core?  A a lot of unused CPU?

    what command line to start gpsd,  
root@C934E761:~# ps -ef | grep gpsd | head -1
gpsd      3332     1  0 08:10 ?        00:00:07 /usr/sbin/gpsd -n -P 
/run/gpsd.pid */dev/ttymxc1
Should be fine, what is that asterisk doing there?

    serial or USB connection,  
serial
What speed?

    how are you measuring "arrival"  
By eyeball.  Do you know of a time-stamping gpsd client?
Many good ways.  "gpspipe -w -t", or send the gpsd log to a timestamping
syslog.  Or "ubxtool -t".  Try ubstool both with, and without gpsd running.

Or, run gpsd under strace.

Could you suggest a way that I could see whether the traffic from 
/dev/ttymxc1 into gpsd is also batched?  This might be a ublox issue, 
rather than gpsd.
Send the output of "ubxtool -P CONFIG" and "ubxtool -P STATUS"

But, before you do any of that, update to gpsd 3.25 or better yet git head.

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


--

Chris Dew / Senior Developer
Email: chris.dew@thorcom.co.uk

Thorcom Systems Limited
Office: +44 (0)1905 756 700
Unit 4, 96B Blackpole Trading Estate West, Worcester, WR3 8TJ, England, UK
Registered in England & Wales 02704696 / VAT Number GB487925681

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed.
Any views or opinions expressed are solely those of the author and do not necessarily represent those of Thorcom Systems Limited.
If you are not the intended recipient of this email, you must take any action based upon its contents or disclose it to any third-party.
Please contact the sender if you believe you have received this email in error.


--

Chris Dew / Senior Developer
Email: chris.dew@thorcom.co.uk

Thorcom Systems Limited
Office: +44 (0)1905 756 700
Unit 4, 96B Blackpole Trading Estate West, Worcester, WR3 8TJ, England, UK
Registered in England & Wales 02704696 / VAT Number GB487925681

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed.
Any views or opinions expressed are solely those of the author and do not necessarily represent those of Thorcom Systems Limited.
If you are not the intended recipient of this email, you must take any action based upon its contents or disclose it to any third-party.
Please contact the sender if you believe you have received this email in error.


reply via email to

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