After sampling around the user-provided coordinate data, PolynomialPathFitterassembles all coordinate samples into one table. Depending on the timestep (i.e, dt), from the original table, the independent column of the new table may have entries that are not monotonically increasing.
An easy fix is to just replace all time values with the index, since the time values are irrelevant during fitting.
After sampling around the user-provided coordinate data,
PolynomialPathFitter
assembles all coordinate samples into one table. Depending on the timestep (i.e,dt
), from the original table, the independent column of the new table may have entries that are not monotonically increasing.An easy fix is to just replace all time values with the index, since the time values are irrelevant during fitting.