Skip to main content

Crate apex_manifolds

Crate apex_manifolds 

Source
Expand description

Manifold representations for optimization on non-Euclidean spaces.

This module provides manifold representations commonly used in computer vision and robotics:

  • SE(3): Special Euclidean group (rigid body transformations)
  • SO(3): Special Orthogonal group (rotations)
  • Sim(3): Similarity transformations
  • SE(2): Rigid transformations in 2D
  • SO(2): Rotations in 2D
Lie group M,°sizedimX ∈ MConstraintT_E MT_X MExp(T)Comp.Action
n-D vectorRⁿ,+nnv ∈ Rⁿv-v=0v ∈ Rⁿv ∈ Rⁿ
CircleS¹,.21z ∈ Cz*z = 1iθ ∈ iRθ ∈ Rz = exp(iθ)z₁z₂
RotationSO(2),.41RRᵀR = I[θ]x ∈ so(2)[θ] ∈ R²R = exp([θ]x)R₁R₂
Rigid motionSE(2),.93M = [R t; 0 1]RᵀR = I[v̂] ∈ se(2)[v̂] ∈ R³Exp([v̂])M₁M₂
3-sphereS³,.43q ∈ Hq*q = 1θ/2 ∈ Hpθ ∈ R³q = exp(uθ/2)q₁q₂
RotationSO(3),.93RRᵀR = I[θ]x ∈ so(3)[θ] ∈ R³R = exp([θ]x)R₁R₂
Rigid motionSE(3),.166M = [R t; 0 1]RᵀR = I[v̂] ∈ se(3)[v̂] ∈ R⁶Exp([v̂])M₁M₂

The design is inspired by the manif C++ library and provides:

  • Analytic Jacobian computations for all operations
  • Right and left perturbation models
  • Composition and inverse operations
  • Exponential and logarithmic maps
  • Tangent space operations

§Mathematical Background

This module implements Lie group theory for robotics applications. Each manifold represents a Lie group with its associated tangent space (Lie algebra). Operations are differentiated with respect to perturbations on the local tangent space.

Modules§

rn
Rn - n-dimensional Euclidean Space
se2
SE(2) - Special Euclidean Group in 2D
se3
SE(3) - Special Euclidean Group in 3D
so2
SO(2) - Special Orthogonal Group in 2D
so3
SO3 - Special Orthogonal Group in 3D

Enums§

ManifoldError
Errors that can occur during manifold operations.
ManifoldType

Constants§

SMALL_ANGLE_THRESHOLD
Threshold for switching between exact formulas and Taylor approximations in small-angle computations.

Traits§

Interpolatable
Trait for Lie groups that support interpolation.
LieGroup
Core trait for Lie group operations.
Tangent
Trait for Lie algebra operations.

Type Aliases§

ManifoldResult
Result type for manifold operations.