Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dellaert
Copy link
Member

This is attempt 3 to land #2222

See Copilot summary.

@dellaert dellaert requested a review from Copilot August 20, 2025 21:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new Kernel-based API for computing Jacobians in SO(3) and semidirect product groups, replacing the old direct method calls with a more systematic approach. The key changes include deprecating old SO(3) methods, adding Gal3 geometry to the Values class, and updating all related code to use the new kernel-based system.

Key changes:

  • New Kernel and InvJKernel classes for systematic Jacobian computation in SO(3)
  • Updated Gal3 implementation with corrected tangent vector ordering and more efficient computations
  • Deprecated old SO(3) methods in favor of kernel-based equivalents (e.g., rightJacobianInverse()InvJacobian().right())

Reviewed Changes

Copilot reviewed 17 out of 18 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
gtsam/nonlinear/values.i Adds Gal3 support and reorders geometry types alphabetically
gtsam/navigation/TangentPreintegration.cpp Updates to use new kernel API
gtsam/navigation/NavState.cpp Migrates from old Jacobian methods to kernel-based approach
gtsam/geometry/tests/testSO3.cpp Updates all tests to use new kernel API
gtsam/geometry/tests/testGal3.cpp Fixes tangent vector ordering and simplifies test implementations
gtsam/geometry/geometry.i Adds SWIG bindings for new Kernel classes
gtsam/geometry/doc/Jacobians.md New comprehensive documentation for kernel-based Jacobian computation
gtsam/geometry/Similarity3.cpp Refactors to use structured kernel approach
gtsam/geometry/SO3.h Deprecates old methods in favor of kernel API
gtsam/geometry/SO3.cpp Implements deprecation guards for old methods
gtsam/geometry/Pose3.cpp Updates to use new kernel methods
gtsam/geometry/Gal3.cpp Major rewrite with corrected tangent ordering and kernel usage
.github/workflows/*.yml Disables deprecated API usage in CI builds

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@dellaert dellaert merged commit 8855937 into develop Aug 20, 2025
31 checks passed
@dellaert dellaert deleted the feature/useKernels2 branch August 20, 2025 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants