Replies: 3 comments 4 replies
-
Hi @amirt23 Sorry you're having difficulties. A Just to be clear, when using the pygnssutils GNSSNTRIPClient class, the NMEA GGA messages sent to the NTRIP caster are not sent from the receiver; they are generated by the NTRIP client itself (using either fixed reference coordinates, or the receiver's currently reported position, if available). So you could actually run GNSSNTRIPClient without having any receiver connected at all, if you simply wanted to test NTRIP caster connectivity. The Could you provide the following additional information:
I doubt the platform, operating system or IDE are relevant here. There should certainly be no issue re-running the
|
Beta Was this translation helpful? Give feedback.
-
Hi @amirt23 I'm unclear why you're getting this issue. This is a sample output from rtk_example with the
To clarify once again, the GNSSNTRIPClient class which is used in the rtk_example.py script is capable of automatically generating an NMEA GGA sentence and sending this to the NTRIP Caster, but in order for it to do this the following settings must be used: EITHER:
OR:
Can you send me a complete, unredacted copy of the What happens if you use the CLI utility gnssntripclient with your Caster using the same settings (substitute your reference coordinate values)? e.g.
Thanks. |
Beta Was this translation helpful? Give feedback.
-
Does rtk example work with http://rtkdata.online NTRIP caster? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm having some problems running the rtk_example.py script and was hoping someone might be able to help me understand how to resolve them. I'm running the code on a machine with ARM Cortex-A78AE CPU, on ubuntu 20.04 using the pycharm IDE.
The first issue concerns not being able to properly rerun the script after terminating its previous execution using ctrl+c. On the following execution the program doesn't seem to be able to stream NMEA data from the receiver (zed 9fp).
The "Starting GNSS reader/writer on /dev/ttyACM0 @ 19200" and the "starting NTRIP client" messages are printed to the console but aren't followed with the NAV and estimated accuracy information. Where on the first execution the program is working properly. Only after a power cycle to the machine the program is able to run properly again. This problem also repeats itself while using the "PyGPSClient" GUI although indicating the connection to dev/ttyACM0 is successful.
'ls -l pycharm.sh' shows:
-rwxr-xr-x 1 user user 9288 Jan 20 1970 pycharm.sh
'ls -l /dev/ttyACM0' shows:
crw-rw---- 1 root dialout 166, 0 Aug 10 10:42 /dev/ttyACM0
The second issues occurs while also running the rtk_example.py script, the following error message is printed during run time along with the NMEA data:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/home/user/PycharmProjects/gnss_dev/venv/lib/python3.9/site-packages/pygnssutils/gnssntripclient.py", line 454, in _read_thread
self._socket.connect(conn)
socket.timeout: timed out
I appreciate the assistance and help.
Beta Was this translation helpful? Give feedback.
All reactions