Skip to content

DistanceTransformPlanner missing direction [-1,-1] #503

@drapado

Description

@drapado

DTP misses direction [-1,-1]

1

        directions = np.array(
            [
                # dy  dx
                [-1, -1],
                [0, -1],
                [1, -1],
                [-1, 0],
                [0, 0],
                [1, 0],
                [0, 1],
                [1, 1],
            ],
            dtype=int,
        )

This generates paths that can't go diagonally right-down. As shown in this image:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions