gtagency / buzzmobile

An autonomous parade float/vehicle
MIT License
18 stars 3 forks source link

Use waypoints instead of polylines #203

Open diptodip opened 7 years ago

diptodip commented 7 years ago

Using waypoints along with tangential interpolation will give smoother paths. By tangential interpolation, we mean constructing a curve from the current position to the next waypoint (i.e. pairwise between points) such that the sum of differences between the heading vector of the current position of the car and the tangent of the curve at that point and the heading vector of the next waypoint and the tangent of the curve at that point is minimized.