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

When using large maps, the likelihood map constructions takes very long time #468

Open
glpuga opened this issue Feb 4, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@glpuga
Copy link
Collaborator

glpuga commented Feb 4, 2025

Bug description

Upon map reception, building the likelihood map when a new map is received takes a long time if the map is large (ej. 200mx600m). This is because of the construction of the distance map and then likelihood map in this function.

On a Intel Core i9-9900 CPU this is around 22 seconds for a 200mx600m at 0.05 m/pixel resolution.

Image

What's worse, during this time the node is unresponsive.
There's a related failure mode that is triggered by this, see #469 .

Platform (please complete the following information):

  • OS: Any.
  • Beluga version: 2.0.2

How to reproduce

Run any system using beluga and a large map. 200mx600m at 0.05 m/pixel resolution is large enough.

Expected behavior

The node should not go unresponsive for so long.

Actual behavior

Node freezes, lifecycle node complains and actually fails.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant