pub struct PoseGraphEdge {
pub from: u64,
pub to: u64,
pub measurement: SE3,
pub kind: PoseGraphEdgeKind,
pub weight: f64,
pub information: Option<Matrix<f64, Const<6>, Const<6>, ArrayStorage<f64, 6, 6>>>,
}Expand description
Edge in a sparse PoseGraph. Encodes a measured previous_to_current
SE3 between two keyframes plus a positive weight used by translation-only
least squares.
information optionally carries a full 6×6 information matrix Ω, i.e. the
inverse measurement covariance, ordered [ρ; ω] (translation block first,
then rotation) to match SE3::log and the .g2o EDGE_SE3:QUAT
convention. When Some, the SE(3) solver minimizes the anisotropic
Mahalanobis cost rᵀ Ω r for this edge and the scalar weight is ignored;
when None, the edge falls back to the isotropic weight · ‖r‖² behavior.
This lets the graph ingest external constraints (e.g. .g2o
EDGE_SE3:QUAT) whose blocks couple rotation and translation, without
changing the meaning of the internally-built sequential / loop-closure
edges.
Fields§
§from: u64§to: u64§measurement: SE3§kind: PoseGraphEdgeKind§weight: f64§information: Option<Matrix<f64, Const<6>, Const<6>, ArrayStorage<f64, 6, 6>>>Trait Implementations§
Source§impl Clone for PoseGraphEdge
impl Clone for PoseGraphEdge
Source§fn clone(&self) -> PoseGraphEdge
fn clone(&self) -> PoseGraphEdge
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PoseGraphEdge
impl Debug for PoseGraphEdge
Source§impl PartialEq for PoseGraphEdge
impl PartialEq for PoseGraphEdge
impl StructuralPartialEq for PoseGraphEdge
Auto Trait Implementations§
impl Forget for PoseGraphEdge
impl Freeze for PoseGraphEdge
impl Move for PoseGraphEdge
impl RefUnwindSafe for PoseGraphEdge
impl Send for PoseGraphEdge
impl Sync for PoseGraphEdge
impl Unpin for PoseGraphEdge
impl UnsafeUnpin for PoseGraphEdge
impl UnwindSafe for PoseGraphEdge
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.