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

关于全局地图中的patch #137

Open
Rick-960123 opened this issue Oct 24, 2024 · 6 comments
Open

关于全局地图中的patch #137

Rick-960123 opened this issue Oct 24, 2024 · 6 comments

Comments

@Rick-960123
Copy link

作者你好,我看代码中sub_sparse_map的patch是在历史图像中得到的,那全局地图中的保存的patch还有什么作用吗

@xuankuzcr
Copy link
Member

历史图像是保存在全局地图里的,图像上会包含很多地图点观测到的patch

@Rick-960123
Copy link
Author

我看到在addObservation函数中新建特征的patch_temp在fast-livo1中并没有被用到其他模块用到,情况是这样吗?下面是addObservation中的一行代码
FeaturePtr ftr_new(new Feature(patch_temp, pc, f, new_frame_->T_f_w_, pt->value, sub_sparse_map->search_levels[i], new_frame_->aff_light.vec()));

@Rick-960123
Copy link
Author

我想问的是为了节省内存,是不是可以不存patch_temp

@xuankuzcr
Copy link
Member

xuankuzcr commented Oct 24, 2024

我刚才查了下,Feature中的patch在livo2的reference patch update中有用,而在livo1中可以不存。

@Rick-960123
Copy link
Author

好的,感谢答疑!

@xuankuzcr
Copy link
Member

这个问题已修复,见commit 6085d7d

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