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

Skip to content

Conversation

@dellaert
Copy link
Member

This is the second part of #2213, attempting to merge with cleaner history and resolve ultra-slow CI.

@dellaert dellaert requested a review from Copilot August 17, 2025 04:09
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 represents the second part of a refactoring effort to use a new "Kernel infrastructure" for SO(3) operations and fully deprecate old SO(3) functors. The changes modernize GTSAM's internal SO(3) implementations by replacing the deprecated DexpFunctor and ExpmapFunctor classes with a new so3::Local and so3::Kernel API that provides improved efficiency and cleaner interfaces.

Key changes include:

  • Replace deprecated SO(3) functors (DexpFunctor, ExpmapFunctor) with new kernel-based so3::Local API
  • Update all dependent geometry classes (NavState, Pose3, TangentPreintegration, etc.) to use the new API
  • Reorganize Values interface declarations for better consistency
  • Add comprehensive documentation explaining the theoretical foundations

Reviewed Changes

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

Show a summary per file
File Description
gtsam/nonlinear/values.i Reorganizes Values interface method declarations and adds Gal3 support
gtsam/navigation/TangentPreintegration.cpp Updates to use new so3::Local API instead of DexpFunctor
gtsam/navigation/NavState.cpp Replaces DexpFunctor with so3::Local and improves efficiency
gtsam/geometry/tests/testSO3.cpp Updates test cases to use new kernel API and adds new tests
gtsam/geometry/tests/testGal3.cpp Comprehensive test updates with corrected tangent vector ordering
gtsam/geometry/geometry.i Updates SWIG interface to expose new kernel classes
gtsam/geometry/doc/Jacobians.md Adds extensive documentation on kernel theory and implementation
gtsam/geometry/Similarity3.cpp Refactors V kernel implementation using new infrastructure
gtsam/geometry/SO3.h Removes deprecated function declarations
gtsam/geometry/Pose3.cpp Updates to use new so3::Local API
gtsam/geometry/Kernel.h Adds deprecation guards around old functor classes
gtsam/geometry/Kernel.cpp Adds deprecation guards around old functor implementations
gtsam/geometry/Gal3.cpp Major refactoring with corrected tangent vector ordering and new 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 force-pushed the feature/useKernels branch from 07364bc to 6cd38de Compare August 19, 2025 00:02
@dellaert dellaert deleted the branch feature/kernels August 20, 2025 23:56
@dellaert dellaert closed this Aug 20, 2025
@dellaert dellaert deleted the feature/useKernels branch August 20, 2025 23:57
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