pub struct Config {Show 17 fields
pub timescale: TimeScale,
pub method: Method,
pub prefered_signal: Option<Signal>,
pub fixed_altitude: Option<f64>,
pub code_smoothing: usize,
pub int_delay: Vec<InternalDelay>,
pub arp_enu: Option<(f64, f64, f64)>,
pub solver: SolverOpts,
pub externalref_delay_s: Option<f64>,
pub max_eclipse_rate_percent: f64,
pub min_sv_elev: Option<f64>,
pub min_sv_azim: Option<f64>,
pub max_sv_azim: Option<f64>,
pub min_snr: Option<f64>,
pub max_tropo_bias: f64,
pub max_iono_bias: f64,
pub modeling: Modeling,
}Fields§
§timescale: TimeScaleTime scale in which we express the PVT solutions, TimeScale::GPST is the default value.
method: MethodNavigation Method (technique) to be used.
prefered_signal: Option<Signal>Select a prefered signal. When defined, this signal will strictly be used in the navigation process. When undefined, the algorithm will prefer the best SNR available, and the signal frequency being used might change. When Method is Method::SPP this should be a single frequency. When Method is not Method::SPP and [Modeling] enables Ionospheric bias compensation,
fixed_altitude: Option<f64>Fixed altitude: reduces the need of 4 to 3 SV to obtain 3D solutions.
code_smoothing: usizePseudo Range code smoothing (window length). Use phase observatoins to smooth and reduce error in the pseudo range code. This has no effect if phase observations are missing. Set to 0 to disable this feature completely. When parametrizing, think in terms of window duration versus Ionospheric activity.
int_delay: Vec<InternalDelay>Internal delays to compensate for (total summation, in [s]). Compensation is only effective if [Modeling.cable_delay] is also turned on.
arp_enu: Option<(f64, f64, f64)>Antenna Reference Point (ARP) expressed as ENU offset [m]
solver: SolverOptsSolver customization
externalref_delay_s: Option<f64>Time Reference Delay. According to BIPM ““GPS Receivers Accurate Time Comparison”“ this is the time delay between the receiver external reference clock and the internal sampling clock. This is typically needed in precision timing applications.
max_eclipse_rate_percent: f64Maximal Earth / Sun occultation tolerated for each satellite. For example, 20.0% means that we require satellites to be 80% illmuinated. 10.0% is our default value.
min_sv_elev: Option<f64>Minimal SV elevation angle for an SV to contribute to the solution. Use this as a simple quality criteria.
min_sv_azim: Option<f64>Minimal SV Azimuth angle for an SV to contribute to the solution. SV below that angle will not be considered. Use this is in special navigation scenarios.
max_sv_azim: Option<f64>Maximal SV Azimuth angle for an SV to contribute to the solution. SV below that angle will not be considered. Use this is in special navigation scenarios.
min_snr: Option<f64>Minimal SNR for an SV to contribute to the solution.
max_tropo_bias: f64Maximal tropo bias that we tolerate (in [m]). Has no effect if modeling.tropo_delay is disabled.
max_iono_bias: f64Maximal iono bias that we tolerate (in [m]). Has no effect if modeling.iono_delay is disabled.
modeling: ModelingAtmospherical and Physical [Modeling] used to improve the accuracy of solution.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.