Replies: 2 comments 1 reply
-
Hi @jehlijos It's not clear what your intention is here, and I'm not in a position to review the code you've linked to above (which I note uses the Can you explain more clearly what you're ultimately looking to achieve? A diagram would be helpful if you have one. In answer to your question:
|
Beta Was this translation helpful? Give feedback.
-
Hi @jehlijos Thanks for the additional information - the diagram makes your intentions clearer. If I understand correctly, you want to capture NMEA GNSS data from 3 receivers concurrently to compare EGNOS (SBAS) corrected, RTCM (NTRIP) corrected and uncorrected navigation solutions? I'm not sure what that would accomplish - SBAS and NTRIP are fundamentally different GNSS correction protocols and they wouldn't really produce comparable results - but it's perfectly possible to do this as an academic exercise (see, for example, https://www.semuconsulting.com/gnsswiki/ for a concise explanation of how SBAS and NTRIP work). I'm assuming the 3 receivers are connected on three different RPi serial ports e.g. /dev/ttyACM0, /dev/ttyACM1 and /dev/ttyACM2 (or something like that) and that you have confimed you're using the correct baud rates, etc.? I'm also assuming that 'receiver 3' is capable of processing NTRIP corrections e.g. something like the u-blox ZED-F9P. The error message you're getting is almost certainly because you have more than one process running on your RPi trying to access the same serial port. The usual culprit is something like Provided you can resolve the serial port contention issue, I see no reason why you should not be able to use PyGPSClient's NTRIP client facility, but it's not clear how you intend to get data out of PyGPSClient and into your database? PyGPSClient has a data-logging facility which can record incoming binary GNSS data (NMEA, UBX or RTCM) to a file, but that obviously wouldn't provide you with a real-time data feed. You may be better adapting the |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am kind of new to GNSS technology. I am reading NMEA messages from ublox with python script on RaspberryPi (via PySerial). I need to find a way to connect this ublox to ntrip and also read data from USB port every second.
(https://github.com/jehlijos/GNSS-EGNOS-EDAS-public_copy)
Is it possible to set PyGPSClient to send ntrip to ublox while usb ports are used to send nmea messages to Raspberry (via python). Or are there any alternatives to make this work?
Thanks for any inputs in advance.
Beta Was this translation helpful? Give feedback.
All reactions