Skip to content

rtk-rs/gnss-rtk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GNSS-RTK

Rust Rust crates.io crates.io

License

Position Velocity Time (PVT) solution solver.

GNSS-RTK is an efficient easy-to-use navigation solutions solver.
Compared to other solutions, the solver configuration is simple and easy to deploy.
This meaks it the ideal solution for most navigation applications.

Flexibily & efficienty

Positioning is a complex task with many steps and details. Yet, we strive to provide a flexible and efficient library, without performance compromises:

  • This library is physics oriented, not application driven. You can operate the solver with whatever data source you have at your disposal.
  • The library allows navigation with a single signal in sight, which makes it compatible with degraded environment or setups
  • It is not particularly oriented towards PPP, which just happens to be one of the available options. In particular, it is possible to navigate without raw signal phase.
  • All supported signals may apply. You don't have to use L1 in single scenario. You don't have to use L1+L2 or L1+L5 but L2+L5 for example should be feasibile in the PPP scenario as well.
  • Works with all supported timescales
  • We strive to make true RTK feasible also
  • A special CPP method for dual frequency yet pseudo range (no phase) technique was developped.
  • This is a true surveying tool, in the sense it can operate without apriori knowledge
    • in this sense, it can fulfill the challenging task of RTK or Geodetic reference stations calibration
  • Can apply a speecial conic azimuth mask during navigation process, which may apply in exotic applications
  • Could theoretically apply to other Planets but is currently focused on Earth ground application scenario

Applications

GNSS-RTK is used by the following applications

Examples and more information

  • Refer to the examples shipped with the library to understand the API and learn how to deploy the solver.

  • RINEX-Cli (app) describes extensive application of this framework, at a higher level

Framework

GNSS-RTK includes itself within and is closely tied to the following libraries:

Licensing

This library is part of the RTK-rs framework which is delivered under the Mozilla V2 Public license.

Work in Progress

This framework is in active development. Most features have been stabilized and exhibit very good performances, some are still unavailable or needs to be improved.

The following topics needs to be addressed (also, refer to the active Github Issues):

  • ppp phase navigation is not fully completed yet. We achieve very good performance by performing long survey. PPP will allow much faster convergence.
  • rtk-ppp is not fully possible yet, only basic RTK exists.

Refer to this portal (Wiki pages, Discussions..) and the RINEX Wiki to understand what this tool is capable of.

PVT Solutions

The Solver's objective is to resolve precise PVT solutions. A minimum of 4 SV must be observed in standard navigation.
When navigating in Fixed Altitude mode, only 3 SV must be observed.
When navigating in Time Only mode, a single SV needs to be observed.

When performing a survey (read dedicated paragraph), 4 SV needs to be observed until the solver fully initializes itself. Use the returned object (PVTSolution or Error) to determine whether you can relax the constraint on sky observations (yet) or not.

The preset criteria are manually set in the configuration file (or config script). At the moment, refer to the RINEX Wiki or RINEX scripts database, for meaningful examples.

Depending on the preset configuration, other requirements will apply to the previous list, most importantly:

  • CPP strategy will required pseudo range observation on a secondary frequency
  • PPP strategy will required pseudo range and phase observations on two frequencies
  • SNR, Elevation and Azimuth mask will require to gather the required amount of SV within those conditions

Each PVT solution contains the Dilution of Precision (DOP) and other meaningful information, like which SV contributed to the solution. We have the capability to express the clock offset in all supported Timescale.

Strategy and other settings

The solver's behavior and output results are highly dependent on the selected strategy.

Advanced strategies require deeper knowledge and most likely more tuning of the solver configuration. The Rust/JSON infrastructure is powerful enough though, to allow to only define the config parts you are interested in: others will simply default.

PVTSolutionType defines the type of solutions we want to form and therefore, the minimum amount of SV we need to gather. As previously stated, other criteria like min_sv_elev or max_sv_azim will restrict the condition on those vehicles that they must fit in to be considered.

When fixed_altitude is set to a certain value, the quantity of required SV is reduced by 1.
This has no impact when PVTSolutionType is set to TimeOnly.

The SolverOpts configuration gives more advanced options on how to tweak the solver. Briefly, this allows to

  • select one of our Navigation Filters, like Kalman filter or LSQ
  • define the PVT solutions confirmation criteria

Modeling defines what physical and environmental phenomena we compensate for.
Modeling are closely tied to the selected solver strategy. For example, models that impact at the centimetric level like the sunlight rate, are not meaningful in strategies other than advanced PPP. On the other hand, you will not reach metric solutions, whatever the strategy might be, if a minimum of physical phenomena are not accounted for.

Atmosphere and Environmental biases

This solver is always capable of modeling all conditions and form a solution.
It is important to understand how our API is designed and operate it the best you can to get the best results.

Troposphere Delay

Troposphere bias always needs to be estimated.
By default, the solver will use a model implemented in the [model::tropo API].
If you're in position to determine yourself the Tropospherical Delay components (TropoComponents structure) at the required latitude and Epoch, you are highly encouraged to provide your data. To do so, we use a function pointer that can serve as a TropoComponents source. TropoComponents evaluation parameters (function pointer arguments) should be :

  • Epoch
  • altitude (above sea level) expressed in meters
  • latitude expressed as decimal degrees

For Epochs where the data source is not capable to supply data, that is not a problem, we will rely on the internal model.

Example of handmade TropoComponents provider :

TODO

⚠️ When using the internal model, we recommend applying a >= 5° elevation mask to the candidates.

Ionosphere Delay

TODO

A priori position

The solver can be armed with a priori knowledge (rough idea of the final position), or can operate in complete autonomy. In this case, the solver will initialize itself very accurately, this requires one extra step.

Getting started

Refer to our example applications to understand how to operate our API in more detail.

About

Precise Point Positioning (PPP) and Real Time Kinematics (RTK)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages