Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

ManifoldEvaluationFactor

Open In Colab

Overview

ManifoldEvaluationFactor is a unary factor for manifold-valued measurements such as Rot2, Rot3, Pose2, or Pose3. It evaluates a vector-valued basis and compares the result in local coordinates on the manifold.

Key Functionality / API

  • ManifoldEvaluationFactor(key, z, model, N, x) constrains the manifold value at x.

  • Optional interval parameters a, b scale the basis domain.

C++ example

auto model = gtsam::noiseModel::Isotropic::Sigma(3, 0.05);
size_t N = 6;
double x = 0.1;
gtsam::Rot3 z = gtsam::Rot3::RzRyRx(0.1, 0.2, 0.3);
gtsam::ManifoldEvaluationFactor<gtsam::Chebyshev2, gtsam::Rot3> factor(key, z, model, N, x);

Python Example

Available ManifoldEvaluationFactor wrappers:
   ManifoldEvaluationFactorChebyshev1BasisPose2
   ManifoldEvaluationFactorChebyshev1BasisPose3
   ManifoldEvaluationFactorChebyshev1BasisRot2
   ManifoldEvaluationFactorChebyshev1BasisRot3
   ManifoldEvaluationFactorChebyshev2BasisPose2
   ManifoldEvaluationFactorChebyshev2BasisPose3
   ManifoldEvaluationFactorChebyshev2BasisRot2
   ManifoldEvaluationFactorChebyshev2BasisRot3
   ManifoldEvaluationFactorChebyshev2Pose2
   ManifoldEvaluationFactorChebyshev2Pose3
   ManifoldEvaluationFactorChebyshev2Rot2
   ManifoldEvaluationFactorChebyshev2Rot3
   ManifoldEvaluationFactorFourierBasisPose2
   ManifoldEvaluationFactorFourierBasisPose3
   ManifoldEvaluationFactorFourierBasisRot2
   ManifoldEvaluationFactorFourierBasisRot3
Created ManifoldEvaluationFactorChebyshev1BasisRot2 with dim 1
Created ManifoldEvaluationFactorChebyshev1BasisPose2 with dim 3
Created ManifoldEvaluationFactorChebyshev1BasisRot3 with dim 3
Created ManifoldEvaluationFactorChebyshev1BasisPose3 with dim 6