Skip to content

bug: walk back and forth at some enclosed case #13

@k88936

Description

@k88936

thanks for your nice project, from which I have learned a lot.
but recently I found some bad case:

Image

a case for 4-dir walk

Image

a case for 8-dir walk

the scene setting:

    x_dim = 20
    y_dim = 20
    start = (3, 3)
    goal = (19, 19)

instead of crash through: assert (self.rhs[self.s_start] != float('inf')), "There is no known path!"
it fell into a endless loop of walk back and force between 2 points

but interestingly another project also has the problem:

Image

and log:

Image

our maintainer seems to noticed this long before:
https://github.com/Sollimann/Dstar-lite-pathplanner/blob/fc3f5cafea53072a750565fbca0642d1e6c0c8ec/README.md#known-bugs-please-contribute

and is it fixed in #3 ?

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