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

实时定位很慢请问有解决办法吗 #41

Open
pl9632008 opened this issue Jul 19, 2024 · 2 comments
Open

实时定位很慢请问有解决办法吗 #41

pl9632008 opened this issue Jul 19, 2024 · 2 comments

Comments

@pl9632008
Copy link

实时定位很慢请问有解决办法吗

@arjunskumar
Copy link

@pl9632008 share your config

@pl9632008
Copy link
Author

Hello, I found that fastlio keeps adding ikdtree nodes. I added the following code in laserMapping.cpp to delete nodes at intervals. Additionally, I modified filter_size_surf to 1 and filter_size_map to 1. After that, I found that localization works. Will this cause any potential risks? The lidar is Livox HAP.

int max_len;
nh.param<int>("max_len", max_len, 10000);
if(featsFromMapNum>max_len){
    BoxPointType cus_range = ikdtree.tree_range();
    std::vector<BoxPointType> res={cus_range};
    ikdtree.Delete_Point_Boxes(res);
 }

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