Skip to content

add option for clearance in all directions#62

Open
Goober5000 wants to merge 1 commit into
Yonaba:masterfrom
Goober5000:radial_clearance
Open

add option for clearance in all directions#62
Goober5000 wants to merge 1 commit into
Yonaba:masterfrom
Goober5000:radial_clearance

Conversation

@Goober5000

Copy link
Copy Markdown

The existing implementation of clearance only checks for obstacles along one diagonal. This works for the problem as defined in the reference material, but it is not suitable for situations where one needs to check for clearance in a radius around the walkable point. To address that need, this PR adds an option to check for clearance in all directions. This change is backwards-compatible and preserves the existing check as the default behavior.

The existing implementation of clearance only checks for obstacles along one diagonal.  This works for the problem as defined in the reference material, but it is not suitable for situations where one needs to check for clearance in a radius around the walkable point.  To address that need, this PR adds an option to check for clearance in all directions.  This change is backwards-compatible and preserves the existing check as the default behavior.
@mokalux

mokalux commented Dec 3, 2023

Copy link
Copy Markdown

for those wondering it seems this PR was merged

@Goober5000

Copy link
Copy Markdown
Author

Apparently not, according to the commit log. See related comment on PR 63.

@mokalux

mokalux commented Dec 4, 2023

Copy link
Copy Markdown

that is weird because in my version of jumper your PR is present! The author was posting his progress on some forum (Gideros in my case) and I may have got an updated version different from GH!

sorry for the inconvenience!

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.

2 participants