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

buildSystem(): NaN within Jacobian for edge 0x56163c2901e0 for vertex 1 #8

Open
weiningwei opened this issue Jul 13, 2021 · 2 comments

Comments

@weiningwei
Copy link

Hi, thank you for sharing the code!
I can run your code on my own computer. But when I modify the initial value of the translation part to 0, that is Eigen::Vector3d trans(0.0, 0.0, 0.0); in the line 148 of src/pnpnl.cpp file, I met this following error:
buildSystem(): NaN within Jacobian for edge 0x56163c2901e0 for vertex 1
And when I use Google to find this error, they said this reason is that the wrong order of the function setVertex(). But the error I met has nothing to do with the function setVertex().

@Sherlock-hh
Copy link

hello! have you solved this problem? I met the same problem, looking for your reply, I'll be very appreciate it

@weiningwei
Copy link
Author

I'm sorry to tell you, I didn't solve this problem. But I think you can give a small initial value, such as 0.001, which should not affect the solution of the PnPL problem.

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

No branches or pull requests

2 participants