Skip to content

Incorrect likelihood calculation #1

@lachlankuhr

Description

@lachlankuhr

In updateWeights() function, the inner most for loop is not calculating the product for the likelihood. Should line 153 of particle_filter.cpp be replaced with new_weight *= numerator / denominator;?

Doing so greatly improves the error rates but I'm slightly confused as to what the rest of the loop is calculating.

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