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

Add width and height params to static if mask #104

Merged
merged 2 commits into from
Dec 9, 2024
Merged

Conversation

renan028
Copy link
Member

@renan028 renan028 commented Nov 8, 2024

Description

AB#34075

We want to use the mask in a specific area, but that is not possible currently because static layer expands the costmap to be the whole incoming map.
Therefore, if we add it as a plugin like this:

plugins:
  - {name: obstacle,        type: "costmap_2d::ObstacleLayer"}
  - {name: static,          type: "costmap_2d::StaticLayer"}

And if we specify width and height, static will ignore anyway and expand to the map size.
I am adding the flexibility to use given width and height for mask case.
Please see video below:

after-2024-11-08_16.13.57.mp4

@renan028 renan028 changed the title Add mask and width height to static Add width and height params to static if mask Nov 8, 2024
@renan028 renan028 requested review from corot, tomin11 and a team November 11, 2024 10:47
Base automatically changed from rs/subtraction to devel November 14, 2024 01:17
@renan028 renan028 merged commit ea69c68 into devel Dec 9, 2024
1 check passed
@renan028 renan028 deleted the rs/costmap_changes branch December 9, 2024 07:11
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

Successfully merging this pull request may close these issues.

3 participants