tobiaskunz / trajectories

Time-Optimal Path Following with Bounded Acceleration and Velocity
113 stars 64 forks source link

Smoothed trajectory for non-moving points has extremely long duration #3

Open ehuang3 opened 9 years ago

ehuang3 commented 9 years ago

Given an input trajectory which is a pair of two of the same points, the duration of the smoothed trajectory is around 40s.

tobiaskunz commented 9 years ago

Paths with two consecutive identical waypoints are currently not supported.

I propose changing your code such that it does not try to generate non-moving, zero-second trajectories.