You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if I've followed your code exactly right, but in the align_tracks() routine while loop, you maintain i > 0 || j > 0.
The children if statements then decide which alignment sequence to apply the coordinate to.
If I'm right, this means the final coordinate track1[0] and track2[0] NEVER get prepended onto a1 and a2
My testing seems to support this, but I have rewritten a lot of this in PHP so it may be a flaw on my part, but logically I see the same issue with the python code.
Your images on your blog seem to support this as well with the initial coordinate not being blue.
I'm trying to figure this out on my end, unfortunately, I'm not extremely familiar with these matrixes, and obviously if i == 0, i-1 is an undefined index which would break these if statements.
Any insight?
The text was updated successfully, but these errors were encountered:
Oh, and I should have prefaced this by saying, thank you for sharing your code. It has been interesting to tinker with it and consider this algorithm for comparing GPS tracks.
Hi Jon,
I'm not sure if I've followed your code exactly right, but in the align_tracks() routine while loop, you maintain i > 0 || j > 0.
The children if statements then decide which alignment sequence to apply the coordinate to.
If I'm right, this means the final coordinate track1[0] and track2[0] NEVER get prepended onto a1 and a2
My testing seems to support this, but I have rewritten a lot of this in PHP so it may be a flaw on my part, but logically I see the same issue with the python code.
Your images on your blog seem to support this as well with the initial coordinate not being blue.
I'm trying to figure this out on my end, unfortunately, I'm not extremely familiar with these matrixes, and obviously if i == 0, i-1 is an undefined index which would break these if statements.
Any insight?
The text was updated successfully, but these errors were encountered: