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

computeUpdate is quiet slow #421

Open
Splayshell opened this issue Jul 11, 2024 · 1 comment
Open

computeUpdate is quiet slow #421

Splayshell opened this issue Jul 11, 2024 · 1 comment
Labels

Comments

@Splayshell
Copy link

if (this->computeRayKeys(origin, p, *keyray)){
#ifdef _OPENMP
#pragma omp critical (free_insert)
#endif
{
free_cells.insert(keyray->begin(), keyray->end());
}
}

for key in keyray, if octomap.(key) == false, why updateNode is neccessary. And in most cases, most free_cells in keyrays don't have voxel before

@ahornung
Copy link
Member

I don't fully understand the question. Did you have a look at the OctoMap journal paper? It explains the raycasting and clearing behavior. Explicitly setting the free cells is needed for clearing obstacles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants