pub struct OptimiseParams {
pub anchor: usize,
pub max_iterations: usize,
pub step_tolerance: f64,
pub initial_damping: f64,
}Expand description
How hard to try.
Fields§
§anchor: usizeWhich node is held fixed.
A pose graph determines its nodes only up to a common rigid motion: six directions of the system are free no matter how many edges there are. Holding one node still is how that gauge freedom is removed, and the survey’s coordinates then mean “relative to this scan”.
max_iterations: usizeStop after this many accepted steps.
step_tolerance: f64Stop when a step moves every node less than this, in the units of the algebra — metres, and radians at one metre.
initial_damping: f64Where the Levenberg damping starts.
Damping is not a luxury here. Zeroing the unobservable directions of an edge is the entire point of the crate, and it can leave the whole system rank-deficient — a survey where nothing at all constrains one direction is a survey this crate should still return an answer for, rather than a factorisation error.
Trait Implementations§
Source§impl Clone for OptimiseParams
impl Clone for OptimiseParams
Source§fn clone(&self) -> OptimiseParams
fn clone(&self) -> OptimiseParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for OptimiseParams
Source§impl Debug for OptimiseParams
impl Debug for OptimiseParams
Source§impl Default for OptimiseParams
impl Default for OptimiseParams
Source§impl PartialEq for OptimiseParams
impl PartialEq for OptimiseParams
impl StructuralPartialEq for OptimiseParams
Auto Trait Implementations§
impl Freeze for OptimiseParams
impl RefUnwindSafe for OptimiseParams
impl Send for OptimiseParams
impl Sync for OptimiseParams
impl Unpin for OptimiseParams
impl UnsafeUnpin for OptimiseParams
impl UnwindSafe for OptimiseParams
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<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>
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.