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

CPU issue #8

Open
mclyncis opened this issue Jan 14, 2022 · 3 comments
Open

CPU issue #8

mclyncis opened this issue Jan 14, 2022 · 3 comments

Comments

@mclyncis
Copy link

move base cpu double while enabling the plugin. filling or not the polygons do not change any things. how can i limit cpu usage whyle area are not changing

@tugbakara
Copy link

Did you solve that problem? I have same issue.

@LKSeng
Copy link

LKSeng commented Dec 12, 2022

I have encountered this issue some time ago and had some thoughts on how to address it. In my implementation, there is caching which should help reduce CPU usage.

There are two forks, depending on whether you want to use the original plugin name (remember to delete this current repo first) or a separate plugin name (costmap_prohibition_layer_v2::CostmapProhibitionLayer).

@tugbakara
Copy link

tugbakara commented Dec 12, 2022

Hi @LKSeng , thanks for your fork, note that initially I tried first one but prohibition layer didn't come in RVIZ that's why I tried second one and it works! Thanks a lot! CPU usage decreases significantly :) Have a nice day !

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

3 participants