Skip to content

fix(global_planner): keep returned plans out of blocked cells - #117

Draft
akela1101 wants to merge 1 commit into
develfrom
global-planner-inscribed-repair
Draft

fix(global_planner): keep returned plans out of blocked cells#117
akela1101 wants to merge 1 commit into
develfrom
global-planner-inscribed-repair

Conversation

@akela1101

Copy link
Copy Markdown

GradientPath's interpolated traceback can emit plan poses inside cells at or above lethal_cost (e.g. the inscribed ring around an obstacle) even though the wavefront never expanded them, so get_path returns SUCCESS for a plan the controller can only refuse and the robot loops on replans. After extracting the plan, snap such poses to the nearest traversable neighbor holding a finite potential, drop duplicates created by snapping, and return NO_PATH_FOUND when a pose has no such neighbor. The start pose and poses within the goal tolerance keep the existing BLOCKED_START/BLOCKED_GOAL semantics.

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