Skip to content

Conversation

ProfFan
Copy link
Collaborator

@ProfFan ProfFan commented Apr 24, 2025

No description provided.

@dellaert dellaert requested a review from Copilot April 28, 2025 14:16
@dellaert
Copy link
Member

CI is failing?

Copy link
Contributor

@Copilot 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 factor, RangeFactorWithTransformBias, extending the existing range measurement framework by incorporating a bias term into the error evaluation.

  • New class RangeFactorWithTransformBias added with an additional bias parameter in range computation.
  • Implements deep-copy cloning, evaluateError overloads, and proper serialization.
Files not reviewed (1)
  • gtsam/sam/sam.i: Language not supported
Comments suppressed due to low confidence (1)

gtsam/sam/RangeFactor.h:278

  • The traits specialization for RangeFactorWithTransformBias references Testable<RangeFactorWithTransform<A1, A2, T>> instead of Testable<RangeFactorWithTransformBias<A1, A2, T>>. Please update this to maintain consistency with the new class.
struct traits<RangeFactorWithTransformBias<A1, A2, T> > : public Testable<RangeFactorWithTransform<A1, A2, T> > {};

@ProfFan ProfFan force-pushed the fan/add_range_factor_with_bias branch from b8ffe3c to 2c638b5 Compare May 1, 2025 03:43
@dellaert
Copy link
Member

dellaert commented May 7, 2025

@ProfFan please (a) add a PR comment, (b) add a unit test.

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