Skip to content

Fix: Resolve Map is not initialized error in MIGHTY during terminal goal sanitization#24

Open
Josgonmar wants to merge 1 commit into
mit-acl:mainfrom
Josgonmar:main
Open

Fix: Resolve Map is not initialized error in MIGHTY during terminal goal sanitization#24
Josgonmar wants to merge 1 commit into
mit-acl:mainfrom
Josgonmar:main

Conversation

@Josgonmar

@Josgonmar Josgonmar commented May 28, 2026

Copy link
Copy Markdown

Hi!

Thanks a lot for open-sourcing your outstanding work! I find myself playing a little bit with it in a simulator, and found out that when the terminal goal falls in occupied space, MIGHTY cannot relocate it even though there is plenty of space. The error it prints is as follows:

[mighty-1] Map is not initialized.
[mighty-1] [MIGHTY] sanitizeTerminalGoal: goal is occupied and no free/unknown cell found within BFS budget; dropping goal

Checking the code I noticed how map_initialized_ flag in the MapUtil is checked in several functions used during "terminal goal sanitization", and found out that this flag is set to false, and never changed.

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