Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have a runtime error in jpda.h #14

Open
mxmxlwlw opened this issue Apr 7, 2016 · 2 comments
Open

Have a runtime error in jpda.h #14

mxmxlwlw opened this issue Apr 7, 2016 · 2 comments

Comments

@mxmxlwlw
Copy link

mxmxlwlw commented Apr 7, 2016

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
@cdondrup
Copy link
Contributor

cdondrup commented Apr 8, 2016

Do you have some example code I could try? Never observed this issue.

Regarding the particle filter, I never tested this, that is an error for @nbellotto to look at. Nevertheless, some example code would also be good to investigate this.

@mxmxlwlw
Copy link
Author

mxmxlwlw commented Apr 8, 2016

Thank you for replying so quickly!
I find the issue (nnjpda and pfilter). It seems I should change dt to a constant such as 20e-3 like it suggests in the cpp file. Although I don't know why.
However PFilter is really slow. Do you have any suggestions on this?
Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants