Skip to content

Particle updates are only written to weights vector but not stored in the particles #1

@davidmainzer

Description

@davidmainzer

File: Particle-Filter/src/particle_filter.cpp:172

p.weight = probability;

The results are not written back to the member variable particles. Is this correct?

If not the fix:

particles[i].weight = probability;

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