gpsd-users
[Top][All Lists]
Advanced

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

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


From: Chris Dew
Subject: How to avoid 1Hz batching of 10Hz GPS fixes?
Date: Tue, 15 Oct 2024 09:35:36 +0100
User-agent: Mozilla Thunderbird

Hi All,

I've successfully used "gpsctl -c 0.1" to enable 10Hz updates on a u-blox MAX-M10S.

I get 10 fixes per second, but they all arrive together, once per second.  (I'm using telnet to rule-out application issues.)

How can I get these TPV records to be individually delivered, 100ms apart?

Thanks, Chris.

# telnet localhost 2947
Trying ::1...
Connected to localhost.
Escape character is '^]'.
{"class":"VERSION","release":"3.22","rev":"3.22","proto_major":3,"proto_minor":14}
?WATCH={"enable":true,"json":true}
{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttymxc1","driver":"u-blox","subtype":"SW ROM SPG 5.10 (7b202e),HW 000A0000","subtype1":"FWVER=SPG 5.10,PROTVER=34.10,MOD=MAX-M10S,GPS;GLO;GAL;BDS,SBAS;QZSS","activated":"2024-10-15T07:51:46.106Z","flags":1,"native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":0.10,"mincycle":0.02}]}
{"class":"WATCH","enable":true,"json":true,"nmea":false,"raw":0,"scaled":false,"timing":false,"split24":false,"pps":false}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:51:34.900Z","leapseconds":18,"ept":0.005,"lat":52.222477300,"lon":-2.199223000,"altHAE":86.8780,"altMSL":38.6460,"alt":38.6460,"epx":1.525,"epy":1.728,"epv":0.562,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.029,"climb":-0.300,"epd":83.0282,"eps":0.14,"epc":5.64,"ecefx":3912592.96,"ecefy":-150253.53,"ecefz":5018074.76,"ecefvx":0.02,"ecefvy":-0.03,"ecefvz":0.01,"ecefpAcc":0.64,"ecefvAcc":0.13,"geoidSep":48.200,"eph":0.308,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:51:35.000Z","leapseconds":18,"ept":0.005,"lat":52.222477300,"lon":-2.199223000,"altHAE":86.8880,"altMSL":38.6550,"alt":38.6550,"epx":1.525,"epy":1.728,"epv":0.562,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.019,"climb":-0.300,"epd":83.0282,"eps":0.12,"epc":11.24,"ecefx":3912593.00,"ecefy":-150253.53,"ecefz":5018074.76,"ecefvx":0.03,"ecefvy":0.00,"ecefvz":-0.01,"ecefpAcc":0.64,"ecefvAcc":0.14,"geoidSep":48.200,"eph":0.308,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:51:35.000Z","leapseconds":18,"ept":0.005,"lat":52.222477300,"lon":-2.199223000,"altHAE":86.8880,"altMSL":38.6550,"alt":38.6550,"epx":1.525,"epy":1.728,"epv":0.562,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.019,"climb":-0.300,"epd":83.0282,"eps":34.56,"epc":11.24,"ecefx":3912593.01,"ecefy":-150253.52,"ecefz":5018074.76,"ecefvx":-0.01,"ecefvy":0.00,"ecefvz":0.01,"ecefpAcc":0.64,"ecefvAcc":0.12,"geoidSep":48.200,"eph":0.308,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:51:35.200Z","leapseconds":18,"ept":0.005,"lat":52.222477200,"lon":-2.199223100,"altHAE":86.9000,"altMSL":38.6680,"alt":38.6680,"epx":1.525,"epy":1.728,"epv":0.567,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.059,"climb":-0.300,"epd":83.0282,"eps":0.11,"epc":5.65,"ecefx":3912593.01,"ecefy":-150253.52,"ecefz":5018074.76,"ecefvx":-0.01,"ecefvy":0.00,"ecefvz":0.01,"ecefpAcc":0.64,"ecefvAcc":0.12,"geoidSep":48.200,"eph":0.311,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:51:35.300Z","leapseconds":18,"ept":0.005,"lat":52.222477000,"lon":-2.199223200,"altHAE":86.9350,"altMSL":38.7030,"alt":38.7030,"epx":1.525,"epy":1.728,"epv":0.567,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.014,"climb":-0.300,"epd":83.0282,"eps":0.12,"epc":11.34,"ecefx":3912593.03,"ecefy":-150253.53,"ecefz":5018074.77,"ecefvx":-0.01,"ecefvy":0.00,"ecefvz":0.01,"ecefpAcc":0.65,"ecefvAcc":0.12,"geoidSep":48.200,"eph":0.311,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:51:35.300Z","leapseconds":18,"ept":0.005,"lat":52.222477000,"lon":-2.199223200,"altHAE":86.9350,"altMSL":38.7030,"alt":38.7030,"epx":1.525,"epy":1.728,"epv":0.567,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.014,"climb":-0.300,"epd":83.0282,"eps":34.56,"epc":11.34,"ecefx":3912593.07,"ecefy":-150253.53,"ecefz":5018074.77,"ecefvx":-0.01,"ecefvy":0.00,"ecefvz":0.01,"ecefpAcc":0.65,"ecefvAcc":0.12,"geoidSep":48.200,"eph":0.311,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:51:35.500Z","leapseconds":18,"ept":0.005,"lat":52.222476900,"lon":-2.199223000,"altHAE":86.9370,"altMSL":38.7040,"alt":38.7040,"epx":1.525,"epy":1.728,"epv":0.566,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.032,"climb":-0.300,"epd":83.0282,"eps":0.13,"epc":5.67,"ecefx":3912593.07,"ecefy":-150253.53,"ecefz":5018074.77,"ecefvx":-0.01,"ecefvy":0.00,"ecefvz":0.01,"ecefpAcc":0.65,"ecefvAcc":0.12,"geoidSep":48.200,"eph":0.310,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:51:35.600Z","leapseconds":18,"ept":0.005,"lat":52.222476800,"lon":-2.199223000,"altHAE":86.9290,"altMSL":38.6960,"alt":38.6960,"epx":1.525,"epy":1.728,"epv":0.565,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.018,"climb":-0.300,"epd":83.0282,"eps":0.11,"epc":11.31,"ecefx":3912593.07,"ecefy":-150253.53,"ecefz":5018074.77,"ecefvx":-0.01,"ecefvy":0.00,"ecefvz":0.01,"ecefpAcc":0.65,"ecefvAcc":0.12,"geoidSep":48.200,"eph":0.310,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:51:35.700Z","leapseconds":18,"ept":0.005,"lat":52.222476800,"lon":-2.199222800,"altHAE":86.9060,"altMSL":38.6740,"alt":38.6740,"epx":1.525,"epy":1.728,"epv":0.564,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.025,"climb":-0.300,"epd":83.0282,"eps":0.12,"epc":11.29,"ecefx":3912593.08,"ecefy":-150253.52,"ecefz":5018074.77,"ecefvx":-0.01,"ecefvy":0.00,"ecefvz":0.01,"ecefpAcc":0.64,"ecefvAcc":0.12,"geoidSep":48.200,"eph":0.310,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:51:35.700Z","leapseconds":18,"ept":0.005,"lat":52.222476800,"lon":-2.199222800,"altHAE":86.9060,"altMSL":38.6740,"alt":38.6740,"epx":1.525,"epy":1.728,"epv":0.564,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.025,"climb":-0.300,"epd":83.0282,"eps":34.56,"epc":11.29,"ecefx":3912593.06,"ecefy":-150253.51,"ecefz":5018074.75,"ecefvx":-0.01,"ecefvy":0.00,"ecefvz":0.01,"ecefpAcc":0.64,"ecefvAcc":0.12,"geoidSep":48.200,"eph":0.310,"sep":9.120}
{"class":"PPS","device":"/dev/ttymxc1","real_sec":1728978696,"real_nsec":0,"clock_sec":1728978707,"clock_nsec":105436665,"precision":-20}
...
{"class":"PPS","device":"/dev/ttymxc1","real_sec":1728978822,"real_nsec":0,"clock_sec":1728978834,"clock_nsec":105468331,"precision":-20}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:53:41.700Z","leapseconds":18,"ept":0.005,"lat":52.222519300,"lon":-2.199233600,"altHAE":83.9890,"altMSL":35.7570,"alt":35.7570,"epx":1.525,"epy":1.728,"epv":0.463,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.014,"climb":-0.300,"epd":83.0282,"eps":0.12,"epc":9.27,"ecefx":3912587.51,"ecefy":-150254.03,"ecefz":5018075.32,"ecefvx":-0.01,"ecefvy":-0.02,"ecefvz":0.01,"ecefpAcc":0.53,"ecefvAcc":0.10,"geoidSep":48.200,"eph":0.266,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:53:41.800Z","leapseconds":18,"ept":0.005,"lat":52.222519400,"lon":-2.199233600,"altHAE":83.9700,"altMSL":35.7370,"alt":35.7370,"epx":1.525,"epy":1.728,"epv":0.463,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.027,"climb":-0.300,"epd":83.0282,"eps":0.11,"epc":9.26,"ecefx":3912587.51,"ecefy":-150254.03,"ecefz":5018075.32,"ecefvx":-0.01,"ecefvy":-0.02,"ecefvz":0.01,"ecefpAcc":0.53,"ecefvAcc":0.10,"geoidSep":48.200,"eph":0.265,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:53:41.900Z","leapseconds":18,"ept":0.005,"lat":52.222519400,"lon":-2.199233700,"altHAE":83.9840,"altMSL":35.7510,"alt":35.7510,"epx":1.525,"epy":1.728,"epv":0.462,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.020,"climb":-0.300,"epd":83.0282,"eps":0.08,"epc":9.25,"ecefx":3912587.51,"ecefy":-150254.03,"ecefz":5018075.32,"ecefvx":-0.01,"ecefvy":-0.02,"ecefvz":0.01,"ecefpAcc":0.53,"ecefvAcc":0.10,"geoidSep":48.200,"eph":0.265,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:53:42.000Z","leapseconds":18,"ept":0.005,"lat":52.222519300,"lon":-2.199233700,"altHAE":83.9970,"altMSL":35.7650,"alt":35.7650,"epx":1.525,"epy":1.728,"epv":0.462,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.040,"climb":-0.300,"epd":83.0282,"eps":0.11,"epc":9.24,"ecefx":3912587.51,"ecefy":-150254.03,"ecefz":5018075.32,"ecefvx":-0.01,"ecefvy":-0.02,"ecefvz":0.01,"ecefpAcc":0.53,"ecefvAcc":0.10,"geoidSep":48.200,"eph":0.265,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:53:42.200Z","leapseconds":18,"ept":0.005,"lat":52.222519300,"lon":-2.199233800,"altHAE":84.0100,"altMSL":35.7780,"alt":35.7780,"epx":1.525,"epy":1.728,"epv":0.465,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.019,"climb":-0.300,"epd":83.0282,"eps":0.10,"epc":4.64,"ecefx":3912587.52,"ecefy":-150254.05,"ecefz":5018075.35,"ecefvx":-0.01,"ecefvy":-0.02,"ecefvz":0.01,"ecefpAcc":0.53,"ecefvAcc":0.10,"geoidSep":48.200,"eph":0.267,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:53:42.300Z","leapseconds":18,"ept":0.005,"lat":52.222519300,"lon":-2.199233800,"altHAE":84.0140,"altMSL":35.7810,"alt":35.7810,"epx":1.525,"epy":1.728,"epv":0.464,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.038,"climb":-0.300,"epd":83.0282,"eps":0.09,"epc":9.29,"ecefx":3912587.53,"ecefy":-150254.05,"ecefz":5018075.35,"ecefvx":-0.01,"ecefvy":-0.02,"ecefvz":0.01,"ecefpAcc":0.54,"ecefvAcc":0.10,"geoidSep":48.200,"eph":0.267,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:53:42.400Z","leapseconds":18,"ept":0.005,"lat":52.222519300,"lon":-2.199233900,"altHAE":84.0110,"altMSL":35.7780,"alt":35.7780,"epx":1.525,"epy":1.728,"epv":0.464,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.058,"climb":-0.300,"epd":83.0282,"eps":0.08,"epc":9.28,"ecefx":3912587.53,"ecefy":-150254.05,"ecefz":5018075.35,"ecefvx":-0.01,"ecefvy":-0.02,"ecefvz":0.01,"ecefpAcc":0.54,"ecefvAcc":0.10,"geoidSep":48.200,"eph":0.267,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:53:42.500Z","leapseconds":18,"ept":0.005,"lat":52.222519300,"lon":-2.199234000,"altHAE":84.0140,"altMSL":35.7820,"alt":35.7820,"epx":1.525,"epy":1.728,"epv":0.463,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.038,"climb":-0.300,"epd":83.0282,"eps":0.11,"epc":9.27,"ecefx":3912587.53,"ecefy":-150254.05,"ecefz":5018075.35,"ecefvx":-0.01,"ecefvy":-0.02,"ecefvz":0.01,"ecefpAcc":0.54,"ecefvAcc":0.10,"geoidSep":48.200,"eph":0.267,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:53:42.600Z","leapseconds":18,"ept":0.005,"lat":52.222519500,"lon":-2.199234000,"altHAE":84.0080,"altMSL":35.7760,"alt":35.7760,"epx":1.525,"epy":1.728,"epv":0.476,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.066,"climb":-0.300,"epd":83.0282,"eps":0.11,"epc":9.39,"ecefx":3912587.53,"ecefy":-150254.06,"ecefz":5018075.36,"ecefvx":-0.01,"ecefvy":-0.02,"ecefvz":0.01,"ecefpAcc":0.53,"ecefvAcc":0.10,"geoidSep":48.200,"eph":0.274,"sep":9.120}
{"class":"TPV","device":"/dev/ttymxc1","status":2,"mode":3,"time":"2024-10-15T07:53:42.600Z","leapseconds":18,"ept":0.005,"lat":52.222519500,"lon":-2.199234000,"altHAE":84.0080,"altMSL":35.7760,"alt":35.7760,"epx":1.525,"epy":1.728,"epv":0.476,"track":359.1036,"magtrack":359.0015,"magvar":-1.0,"speed":0.066,"climb":-0.300,"epd":83.0282,"eps":34.56,"epc":9.39,"ecefx":3912587.53,"ecefy":-150254.07,"ecefz":5018075.37,"ecefvx":-0.01,"ecefvy":-0.02,"ecefvz":0.01,"ecefpAcc":0.54,"ecefvAcc":0.10,"geoidSep":48.200,"eph":0.274,"sep":9.120}
{"class":"PPS","device":"/dev/ttymxc1","real_sec":1728978823,"real_nsec":0,"clock_sec":1728978835,"clock_nsec":105467081,"precision":-20}




--

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]