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

Pose3Pose3 trivial failure at rotation [pi;pi;pi] #412

Closed
dehann opened this issue Feb 14, 2021 · 1 comment
Closed

Pose3Pose3 trivial failure at rotation [pi;pi;pi] #412

dehann opened this issue Feb 14, 2021 · 1 comment

Comments

@dehann
Copy link
Member

dehann commented Feb 14, 2021

Basically gimbal lock, and will be irrelavent once #244 is completed. Just keeping record of the issue:

fg = initfg()
addVariable!(fg, :x0, Pose3)
initManual!(fg, zeros(6))
addVariable!(fg, :x1, Pose3)
addFactor!(fg, [:x0;:x1], Pose3Pose3(MvNormal([10;0;0;0;0;0],0.01*diagm(ones(6)))))

res = calcFactorResidual(fg, :x0x1f1, [10;0;0;0;0;0.0], zeros(6), [10;0;0;pi;pi;pi])
# comes back near zero (since pitch went through pi/2)

xref #380

@Affie
Copy link
Member

Affie commented Aug 26, 2021

I believe this is fixed now

@dehann dehann closed this as completed Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants