I have a set of points, all together they create a track, where the sequence is crucial. I can plot the track using lines, how could I smooth it after or while new points are fetching? Track might look like 1 pic:
2 picture is what I want to have in the end. I tried to interpolate with scipy.interpolate
but it didn't work, because it requires sorted sequence (I only achieved pic3 in the end)