Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect jacobian for edge_se3_xyz_prior and add unit test for it #558

Merged
merged 2 commits into from
Dec 19, 2021

Conversation

XiaotaoGuo
Copy link

Added unit tests for EdgeSE3XYZPrior to show current implementation of EdgeSE3XYZPrior::linearizeOplus() is incorrect. Since VertexSE3 is updated in the local frame (right multiply with increment), its rotation should be taken into account. I was trying to introduce a GPS edge but it didn't work well and found this discussion in gtsam: Jacobian for a translation component of Pose3 (e.g PartialPriorFactor), which could be a reference.

Haven't contributed to g2o before so apologies if I'm missing part of the workflow.

@codecov
Copy link

codecov bot commented Dec 19, 2021

Codecov Report

Merging #558 (8136c38) into master (f3b1cbb) will increase coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #558      +/-   ##
==========================================
+ Coverage   46.10%   46.16%   +0.05%     
==========================================
  Files         271      271              
  Lines       10572    10574       +2     
==========================================
+ Hits         4874     4881       +7     
+ Misses       5698     5693       -5     
Impacted Files Coverage Δ
g2o/types/slam3d/edge_se3_xyzprior.cpp 71.79% <100.00%> (+15.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f3b1cbb...8136c38. Read the comment docs.

@RainerKuemmerle
Copy link
Owner

Thanks!

@RainerKuemmerle RainerKuemmerle merged commit 9cc2fe3 into RainerKuemmerle:master Dec 19, 2021
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