Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

fix: pathfinder return value on failure#3244

Merged
Tensuko merged 5 commits intomainfrom
3242-the-driver-cannot-find-a-way-onto-larger-fields
May 19, 2024
Merged

fix: pathfinder return value on failure#3244
Tensuko merged 5 commits intomainfrom
3242-the-driver-cannot-find-a-way-onto-larger-fields

Conversation

@pvaiko
Copy link
Contributor

@pvaiko pvaiko commented May 15, 2024

Always fill in all fields of PathfinderReturn on failure to avoid false positives for object in front (and thus reversing)

#3242

Always fill in all fields of PathfinderReturn on failure to
avoid false positives for object in front (and thus reversing)

#3242
@pvaiko pvaiko requested a review from Tensuko May 15, 2024 10:30
@pvaiko pvaiko self-assigned this May 15, 2024
@pvaiko pvaiko linked an issue May 15, 2024 that may be closed by this pull request
pvaiko added 4 commits May 15, 2024 07:32
If the unloader can't find a path, it'll retry first with
either fruit avoidance or off-field penalty disabled,
depending on what most likely caused the failure, then
retry a second time with both disabled.

#3242
"There are 2 hard problems in computer science:
 cache invalidation, naming things, and off-by-1 errors."

#3242
Relax constraints for first retry based on previous
result (fruit or off-field penalty)

#3242
@Tensuko Tensuko merged commit c68fb98 into main May 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG_MP] The driver cannot find a way on larger Missions fields.

3 participants