8000 OMPL Planners do not work when running study_static_obstacles · Issue #6 · VIS4ROB-lab/t_prm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
OMPL Planners do not work when running study_static_obstacles #6
Open
@alexperez33

Description

@alexperez33

The OMPL Planners (PRM and RRT*) do not avoid obstacles when study_static_obstacles is run (in both 2D and 3D). This seems to be because the clearance function within the ValidityChecker class is always returning 1e4.

This seems to be because in lines 93 and 108, the code is re-declaring min_dist inside of their respective branch.
double min_dist = 1e4;.
Any modifications to min_dist after this are temporary, and once the branch is exited, the original min_dist value is returned.
Getting rid of lines 93 and 108 allow the OMPL planners to work in the static environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0