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

Fix mapping of centered signs #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

RichoM
Copy link

@RichoM RichoM commented Dec 12, 2024

This pull request fixes the issue with the MapAnswer solution placing victims/hazards signs in the wrong cell when they appear in the middle of the wall.

I added the following picture to explain the problem better:
erebus_tile_center_bug

I made a few changes to the MapAnswer class in order to test the code independently from webots. Now the MapAnswer has its own representation of the world and we only need to interact with the Supervisor to gather this data at creation time.

I used a bunch of different test files to make sure everything is working as intended. I didn't commit those changes here, but if you want to take a look: https://github.com/RichoM/erebus/tree/master/test

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.

1 participant