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

似乎TUM格式输出的四元数不为1 #29

Open
byronsit opened this issue Dec 24, 2024 · 2 comments
Open

似乎TUM格式输出的四元数不为1 #29

byronsit opened this issue Dec 24, 2024 · 2 comments

Comments

@byronsit
Copy link

首先感谢作者带来的精彩的工作,经过测试,几乎所有其他SLAM都挂掉的场景,该SLAM还能稳定运行。

然而,我发现输出的TUM格式结果不太对, 经过再次查验,发现似乎转换为四元数之前的旋转矩阵,他的行列式是-1

这是在我自己数据集上跑的结果,并没有测试其他数据集,至少存在这个现象,不知道是bug还是feature?

@byronsit
Copy link
Author

const Mat44_t cam_pose_wc = cam_pose_cw.inverse();

eigen至少再ubuntu 18.04这里会得到错误的逆矩阵结果,经过查阅,这是eigen的普遍现象。我不确定新版本是否ok, 所以可能是作者再其他issue里说的“莫名其妙就对/错”的问题。

建议排查所有用到eigen inverse的地方,他们会导致错误的结果。

@PeterFWS
Copy link
Owner

感谢您的留言与建议。

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