Open mxmxlwlw opened 8 years ago
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.
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!
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.