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

hloc使用问题咨询 #3

Open
WuZihao12 opened this issue Oct 20, 2023 · 4 comments
Open

hloc使用问题咨询 #3

WuZihao12 opened this issue Oct 20, 2023 · 4 comments

Comments

@WuZihao12
Copy link

感谢你出色的工作!大佬想问下,使用hloc的时候需要预加载环境的3D模型吗?

@Li-Jesse-Jiaze
Copy link
Owner

目前这里只是使用hloc中的方法进行回环检测,还没有加载用hloc构建的3D模型做视觉定位的功能

但你可以尝试在地图保存和读取功能的基础上进行开发,只需要转换以下hloc的3D模型文件,可以按照以下思路

convert map to pose graph

pose graph format:

  • pose_graph.txt:

    • index, time_stamp,

    VIO_Tx, VIO_Ty, VIO_Tz, PG_Tx, PG_Ty, PG_Tz, VIO_Qw, VIO_Qx, VIO_Qy, VIO_Qz, PG_Qw, PG_Qx, PG_Qy, PG_Qz, loop_index, loop_info_0, loop_info_1, loop_info_2, loop_info_3, loop_info_4, loop_info_5, loop_info_6, loop_info_7, keypoints_num, height, width

  • [i]_keypoints.txt:

    • p_x, p_y, p_x_norm, p_y_norm, score
  • [i]_global_desc.dat:

    • 1x4096 cv::Mat written by function in pose_graph.cpp
  • [i]_local_desc.dat:

    • keypoints_numx256 cv::Mat written by function in pose_graph.cpp

ps: VIO_ and loop_ in pose_graph.txt is not important

@WuZihao12
Copy link
Author

想问下你使用NetVLAD替换BoW的代码段在具体哪里呢?

@Li-Jesse-Jiaze
Copy link
Owner

你可以自行diff一下这份代码和ov_secondary

另外如果你想询问一些其他细节可以添加我的其他联系方式,尽量保持一个Issue下面只有一个问题

@WuZihao12
Copy link
Author

h好滴谢谢

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