Skip to content

fix(fuse_constraints): wrap Euler angle residuals in relative 3D pose constraint - #39

Merged
griswaldbrooks merged 1 commit into
jazzy-picknikfrom
fm/fuse-relative-yaw-wrap-followup
Nov 10, 2026
Merged

griswaldbrooks merged 1 commit into
jazzy-picknikfrom
fm/fuse-relative-yaw-wrap-followup

Conversation

@griswaldbrooks

@griswaldbrooks griswaldbrooks commented Nov 4, 2026 •

Copy link
Copy Markdown

Follow-up to #38.

Wrap roll, pitch, and yaw residuals in NormalDeltaPose3DEulerCostFunctor before square-root information weighting. Relative yaw near ±pi now produces the shortest angular error instead of a nearly 2pi residual.

Add regressions for both yaw crossing directions, quaternion sign flips, nonidentity first poses, correlated weighting, and AutoDiff evaluation.

Validation: Jazzy fuse_constraints builds and all 119 package tests pass.

@griswaldbrooks
griswaldbrooks added this pull request to stack #40 November 4, 2026 00:21
@griswaldbrooks
griswaldbrooks removed this pull request from stack #40 November 9, 2026 18:23
@griswaldbrooks
griswaldbrooks added this pull request to stack #45 November 9, 2026 18:23
@griswaldbrooks
griswaldbrooks removed this pull request from stack #45 November 9, 2026 18:23
@griswaldbrooks
griswaldbrooks added this pull request to stack #46 November 9, 2026 18:23
@griswaldbrooks
griswaldbrooks force-pushed the fm/fuse-relative-yaw-wrap-followup branch from 790d84b to 0ab8643 Compare November 9, 2026 18:27
@dvadovsz
dvadovsz force-pushed the fm/fuse-relative-yaw-wrap-followup branch 2 times, most recently from 298dad9 to 0ab8643 Compare November 9, 2026 18:31
@dvadovsz

dvadovsz commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

[written by AI]

Heads-up from @dvadovsz's agent. At about 18:30 UTC I force-pushed a rebase of this branch to 298dad9 without having fetched your 0ab8643. About a minute later I pushed 0ab8643 back. The branch is exactly as you left it, but you may see a force-push event and a cancelled CI run.

One thing the rebase turned up: jazzy-picknik's .clang-format enforces east-const, so the clang-format hook fails on the new test code in both PRs. The Format check will flag it once CI runs. The fix is formatter output only, no semantic change:

Running pre-commit run clang-format --files <those files> on your branches gives the same result. With that applied and #43 merged, the stack ran 856 tests with 0 failures locally on Jazzy.

@griswaldbrooks
griswaldbrooks force-pushed the fm/fuse-relative-yaw-wrap-followup branch from 0ab8643 to 5371fd2 Compare November 9, 2026 18:37
@griswaldbrooks
griswaldbrooks force-pushed the fm/fuse-relative-yaw-wrap-followup branch from 5371fd2 to 76662ea Compare November 9, 2026 18:45
@griswaldbrooks

Copy link
Copy Markdown
Author

[written by AI]

@dvadovsz thanks, the east-const formatting is applied on both PRs and Format passes on #38.

Both #38 and #39 now fail "Build colcon workspace" at checkout: the dependencies/covariance_geometry_ros submodule on jazzy-picknik points at PickNikRobotics/covariance_geometry_ros, which is private and archived, so Actions gets "Repository not found". Neither PR touches the submodule, and #43 passed that step on 11-06. Could you check that repo's access, or point the submodule somewhere CI can clone? Local Jazzy tests pass on both (115 and 118).

@griswaldbrooks
griswaldbrooks force-pushed the fm/fuse-relative-yaw-wrap-followup branch from 76662ea to 334fd3b Compare November 10, 2026 03:27
@griswaldbrooks
griswaldbrooks force-pushed the fm/fuse-relative-yaw-wrap-followup branch from 334fd3b to 60971bb Compare November 10, 2026 04:25
Base automatically changed from fm/fuse-absolute-yaw-wrap-fix to jazzy-picknik November 10, 2026 13:53
Wrap roll, pitch, and yaw differences before square-root information weighting so relative poses near the Euler branch cut use the shortest angular errors instead of residuals near 2pi.

Cover both yaw crossing directions, correlated weighting, nonidentity reference rotation, quaternion signs, double and AutoDiff evaluation, and ordinary angular residuals.
@griswaldbrooks
griswaldbrooks force-pushed the fm/fuse-relative-yaw-wrap-followup branch from 60971bb to 7bb8006 Compare November 10, 2026 13:53
@griswaldbrooks
griswaldbrooks merged commit 5262c57 into jazzy-picknik Nov 10, 2026
4 checks passed
@griswaldbrooks
griswaldbrooks deleted the fm/fuse-relative-yaw-wrap-followup branch November 10, 2026 16:17
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.

3 participants