cosbidev / PyTrack

a Map-Matching-based Python Toolbox for Vehicle Trajectory Reconstruction

Home Page:https://pytrack-lib.readthedocs.io/en/latest/#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem in the draw path

bernardotepedino opened this issue · comments

I am having this problem in the last part of the code, when it was supposed to draw the map, does anyone know what could be?
image

Also, when I run the viterbi_search, I receive some messages such as:

image

Is this the reason for the error when drawing the map?

Thank you

Please report the version of your environment (Python and PyTrack) for reproducibility.
Provide also a minimal example (with data), which can be copied, so that you can get better help and we can add a warning in future versions of the library.
However, the problem seems to be due to the output of viterbi_search. You can try increasing the radius value in the candidate.get_candidates function.

Hi! My python version is 3.8.5 and my PyTrack is 2.0.4. the latest one.

Here I put an example of the points list that gives me this error. However, It works if you exclude the last item from the list.

points.txt

I don't know why this error is happening. I already tried to change the radius and the linterp_dist at get_candidates.

Thanks for your help!

A new version is out now, let me know if you have any problems with it.

With version v2.0.6 of PyTrack, the problem is completely solved, without any errors. I tested the points.txt dataset and the process appears fine. So I am going to close the issue as resolved.