Collecting raw data for PPK using Python Interface #153
Replies: 1 comment 3 replies
-
OK - so are you expecting someone else to write this code for you? Binary data logging is in itself trivial, but synchronising this with an image capture routine is a very specific use case, so I doubt you'll find anything 'off the shelf'. The FOSS GPS forum might be your best bet. To clarify, when you say 'GPS raw data collection' I presume you mean raw navigation data suitable for use as a precursor to PPK processing? In the context of the ZED-F9P this typically involves enabling and capturing UBX RXM-RAWX (Multi-GNSS raw measurements) and/or RXM-SFBRX (Broadcast navigation data subframe) data and converting this to RINEX format. Note that PPK requires time series data so it wouldn't really make sense to capture, say, a single message corresponding to a specific camera 'shutter' event, as it were. PyGPSClient can certainly be configured to capture binary RXM-RAWX and RXM-SFRBX data (this has been covered in your previous thread). You could also use the pyubx2 library or gnssstreamer CLI utility, but you would need to write your own Python script to synchronise data logging with your image capture routines - assuming these expose a suitable event API. Check out the READMEs for these libraries. Note that none of these libraries currently implement RINEX conversion and there are no plans to add this functionality any time soon - you would need to use a specialised library such as RTKLIB to do the conversion. |
Beta Was this translation helpful? Give feedback.
-
I am currently using a u-blox ZED F9-P GNSS module and have successfully configured it to collect raw GPS data using the PyGPSClient GUI for post-processing kinematic (PPK) analysis, achieving centimeter-level accuracy. Additionally, I have a Python script that captures images from a LiDAR sensor and infrared camera at regular intervals.
I would like to modify my current setup by integrating GPS raw data collection into this process. Specifically, I need Python code that will log raw GPS data only at the specific instances when the LiDAR and infrared cameras capture an image. The collected GPS data should be stored in a single binary log file, which can later be used for PPK processing.
Beta Was this translation helpful? Give feedback.
All reactions