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

从你给出的gt pose中如何得到opencv type的相机c2w矩阵 #1

Open
xiaoc57 opened this issue Aug 31, 2024 · 1 comment
Open

Comments

@xiaoc57
Copy link

xiaoc57 commented Aug 31, 2024

我对于你给出的gt pose感到困惑,它表示的是车的c2w还是w2c矩阵,对于给出的数据如何处理才能得到相机的c2w矩阵

@zqyu9
Copy link
Owner

zqyu9 commented Sep 4, 2024

我对于你给出的gt pose感到困惑,它表示的是车的c2w还是w2c矩阵,对于给出的数据如何处理才能得到相机的c2w矩阵

你好,数据集中的 gt.txt 提供的是月球车本体坐标系相对起点的位姿,即 Body2world。如果想要得到相机的 c2w 矩阵,需要利用相机相对于月球车的外参进行转换,同时还需考虑相机自身坐标系朝向的改变。(例如,左目相机在月球车坐标系的 (1, -0.155, -1.5) 位置,同时其朝向在月球车坐标系的基础上先绕 Z 轴逆时针旋转 90°,再绕 X 轴逆时针旋转 90°,最后还有一个-20°的俯仰角。)

可以参考下方坐标系示意图以及论文中给出的传感器外参:

3

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