fix: rewarp fly-back stuck recovery and precise landing#49
Draft
nnasko wants to merge 1 commit into
Draft
Conversation
- Fly rewarp targets the actual start point so the 3D pathfinder routes under roofs and around walls, instead of a hard-coded cruise altitude that stranded the bot on top of farm structures. - FlyExecutor gains net distance-to-goal stall detection, a FAILED state that propagates instead of hanging navigation, active braking to stop sprint overshoots, and roof-aware vertical obstacle handling. - RewarpManager recovery chain: bounded retries with an alternating unstuck nudge, a distance-scaled navigation timeout backstop, a plot-TP/warp-garden fallback, and a safe macro stop if everything fails. - Exact landing: the drop is only taken when the column below ends at start level (box-aware raycast), otherwise it aims at the start block centre and etherwarps on; landings verified in XZ and Y with a walk-nudge correction.
nnasko
marked this pull request as draft
July 24, 2026 08:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the auto-farm rewarp flying back to the start and getting stuck oscillating between two positions, and makes the landing land on the exact start block.
FlyExecutorgains net distance-to-goal progress tracking (oscillation is caught even while the player keeps moving), aFAILEDstate that propagates instead of leaving navigation hung forever, active braking to kill sprint-momentum overshoots, and roof-aware climb/duck obstacle handling./warp gardenfallback, and a safe macro stop if all of that fails.Testing
Verified in-game on a roofed farm: routes under the roof, brakes without overshooting, and lands on the exact start block; recovery chain (stall → nudge → refly → TP fallback) exercised via debug logs.