Skip to content

Have a runtime error in jpda.h #14

@mxmxlwlw

Description

@mxmxlwlw

Hello,
The error was in private function void getAssociation(size_t row, ...)
It occurs at assoc.pop_back() because of the assoc is already empty.
If I add a condition, there will be another runtime error in private function void fill(size_t start, size_t end). This is because ai->t is out of range.
This problem only happens when I use nnjfda. NN will be fine.
And, there is a second problem. If I change the filter as PFilter, it will also have a runtime error. But I think this is because I should change the model. Am I correct?
Can you help me out? Thank you.

pf.exe!jpda::JPDA::getAssociation(unsigned int row, std::vector<unsigned int,std::allocator<unsigned int> > colVec, jpda::Association & assoc, unsigned int m) line 572
pf.exe!jpda::JPDA::getAssociations() line 304
pf.exe!MTRK::MultiTracker<UKFilter,4>::dataAssociation<Models::CartesianModel>(Models::CartesianModel & om, MTRK::association_t alg) line 266
pf.exe!MTRK::MultiTracker<UKFilter,4>::process<Models::CartesianModel>(Models::CartesianModel & om, MTRK::association_t alg) line 168
pf.exe!main(int argc, char * * argv) line 224

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