Skip to content

visvarprob probabilistic raycast terminates per-pixel, not cumulatively as described in the paper (Section IV-C) #5

Description

@kevtenly

Hi, and thanks for releasing MapEx. While porting the probabilistic information gain to a different map predictor, I believe I found a mismatch between the paper and (get_free_points) in scripts/simple_mask_utils.py.

Paper (§IV-C): each ray starts with Δ = 0 and accumulates the mean-map occupancy of every pixel it traverses; the ray stops once the running sum Δ ≥ ε (with ε = 0.8). PIPE Planner, which reuses this raycast, states the same.
Code: In get_free_points accum_hit_prob = 0 is reset at the top of the inner (per-cell) loop.

Is the per-pixel reset intentional, or should Δ persist across the ray as described in IV-C? Happy to open a PR if a fix is wanted. Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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