pub struct OutlierRejectOptions {
pub position_tolerance_m: f64,
pub clock_tolerance_s: f64,
}Expand description
Optional consensus guard for precedence selection.
With this guard disabled, precedence retains its historical behavior: the
preferred source wins a contested cell whenever min_agree permits it. With
it enabled, contested positions and clocks must contain a mutually agreeing
cluster of at least max(min_agree, 2) sources. The preferred value is kept
when it belongs to that cluster; otherwise the earliest-listed member of the
deterministic largest cluster replaces it and the rejected source is
recorded in the merge report.
Fields§
§position_tolerance_m: f64Maximum 3D position separation inside the accepted cluster, meters.
clock_tolerance_s: f64Maximum aligned-clock separation inside the accepted cluster, seconds.
Trait Implementations§
Source§impl Clone for OutlierRejectOptions
impl Clone for OutlierRejectOptions
Source§fn clone(&self) -> OutlierRejectOptions
fn clone(&self) -> OutlierRejectOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OutlierRejectOptions
Source§impl Debug for OutlierRejectOptions
impl Debug for OutlierRejectOptions
Source§impl PartialEq for OutlierRejectOptions
impl PartialEq for OutlierRejectOptions
impl StructuralPartialEq for OutlierRejectOptions
Auto Trait Implementations§
impl Freeze for OutlierRejectOptions
impl RefUnwindSafe for OutlierRejectOptions
impl Send for OutlierRejectOptions
impl Sync for OutlierRejectOptions
impl Unpin for OutlierRejectOptions
impl UnsafeUnpin for OutlierRejectOptions
impl UnwindSafe for OutlierRejectOptions
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.