Skip to content

extract ComputeResidual3D/ComputeJacobians3D, add 3D Jacobian unit test (2/4)#79

Open
woosik2510 wants to merge 1 commit into
masterfrom
feat/unit-test-wheel-jacobian-3d
Open

extract ComputeResidual3D/ComputeJacobians3D, add 3D Jacobian unit test (2/4)#79
woosik2510 wants to merge 1 commit into
masterfrom
feat/unit-test-wheel-jacobian-3d

Conversation

@woosik2510

Copy link
Copy Markdown
Collaborator

Verify wheel Jacobians via unit tests (FD check, 4-PR campaign)

# Scope Status
1/4 ComputeResidual2D + ComputeJacobians2D, SO(3) Jr fix, test_UpdaterWheel2D shipped [#76]
2/4 ComputeResidual3D + ComputeJacobians3D, test_UpdaterWheel3D THIS PR
3/4 time-offset Jacobian extraction + unit test next
4/4 intrinsic preintegration Jacobians + unit test upcoming

Summary

Extracts ComputeResidual3D and ComputeJacobians3D as public static methods from compute_linear_system_3D, refactors the caller to use them, and adds test_UpdaterWheel3D.cpp which verifies all 12 pose Jacobians and 6 extrinsic Jacobians via central finite differences (tolerance 1e-6).

At zero residual phi_A = log(R_3D * R_O0toO1.T) = 0, so the first-order Jacobians are exact and no Jr correction is needed (unlike the 2D case).

No behavior change: compute_linear_system_3D produces identical H and res.

Verification

WheelJacobian3D.AnalyticalMatchesNumerical: PASSED

Chain

Chains off PR 1/4 (feat/unit-test-wheel-jacobian-2d -> #76).
Next in chain: PR 3/4 -- time-offset Jacobian extraction + unit test.

Base automatically changed from feat/unit-test-wheel-jacobian-2d to master July 26, 2026 05:43
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.

1 participant