Note
- Create a virtual port with com0com.
- Download corrections via NTRIP automatically.
- Create test and deploys (Docker) for the CI/CD
- Implement HASlib and OSNMAlib into the project.
- Refactor the plot functions.
uNavTools is a comprehensive toolset designed for the analysis and processing of GNSS signals using both Real-Time Kinematic (RTK) and Precise Point Positioning (PPP) techniques. This project consists of three main modules:
- PPP Module: Applies corrections using a single receiver and improves accuracy through SSR files, providing orbit, bias, and clock corrections.
- RTK Module: Utilizes corrections through two receivers, including a base station and a mobile receiver (rover). SSR corrections can also be applied for enhanced signal precision.
- Raw Data Acquisition Module: Designed to acquire data from U-Blox devices and parse them into RINEX 3 format for subsequent processing with RTK or PPP.
These modules can be executed from the command line, providing a flexible and integrated interface with the entire library and its functionalities.
A simple command to acquire raw data from the U-Blox receiver, parse it into RINEX format, and process it with the PPP module while plotting the results:
python .\Commands.py -getdata -ppp -t 20 -f 2 -port 'COM4' -plot
python .\Commands.py - -rtk -folder 'path/to/folder' -t 20 -f 2 -plot
python .\Commands.py -ppp -model 'FP9' -folder 'path/to/folder' -f 2 -t 20 -plot
The project has the following dependencies:
- Python 3.x
- numpy
- simplekml
- cssrlib
These dependencies are listed in the requirements.txt
file.
To install the required dependencies and set up the project, follow these steps:
- Clone the repository:
git clone https://github.com/IvAn190/uNavTools.git
- Install the dependencies:
Make sure you have pip installed. Then run:
python setup.py
This script will read the requirements.txt file and install each dependency using pip. Ensure requirements.txt is in the same directory as setup.py.
All code is available on my GitHub repository, which is open source and designed for easy and straightforward use.
In order to activate the sender.exe script, you just need to input two things:
- COM port, where do you want to send all the data.
- The path file you want to send.
.\sender.exe COM8 D:\Programacion\uNavTools\data.ubx
Warning
Before starting, we need to start com0com application and configure both ports, receiver and sender. Due to Windows permissions, we cannot use one port with multiple programs/applications. Because of that, we must configure two ports in the com0com application.
And the input to get the data from that virtual port:
Note
Again, in this example I'll use COM8 to send the data and COM9 to get the data using uNavTools.
python.exe .\Commands.py -getdata -t 1 -f 2 -port 'COM9' -nocheck