PointPerfect MQTT Correction #93
drodriguez-dlc
started this conversation in
General
Replies: 1 comment 3 replies
|
Unfortunately you can't use gnssmqttclient to output directly to a serial device (e.g.
The way this works 'under the covers' in PyGPSClient is that it writes the output from gnssmqttclient to a queue, and a separate threaded process reads this queue and sends the data to the receiver. The rtk_example.py does something similar but for NTRIP clients rather than SPARTN, but you could adapt it quite easily to use |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm using example/client.py with pygnsutils GNSSSocketServer and trying to implement GNSSMQTTClient. I start the server with this command
gnssserver --inport /dev/ttyGPS --baudrate 115200 --hostip 0.0.0.0 --outport 50011Then start the MQTT connection
gnssmqttclient -C c3938143-fe52-xxxx-b2da-xxxxxxxxxxxx -S pp.services.u-blox.com -P 8883 -R us --output /dev/ttyGPSI can see my device connected on PointPerfect(PP), but I'm unsure of how to actually send the correction data to my ZED-F9P.
Utilizing pygpsclient UI, I can connect to my server at 0.0.0.0:50011 and then connect to my MQTT broker to retrieve the correction data and I can eventually get an RTK fix.
How can I replicate this pygpsclient functionality using the example client, gnssserver, and gnssmqttclient?
Would GNSSStreamer be better suited for this task?
All reactions