Waypoints guidance algorithm

jone31:
Thanks i have alson the standar formula, but me i want to do other algorithme i want to folow a line not a waypoint.

A line between two points x1,y1 and x2,x2 is elementary linear algebra.