Get angles for each point considering the two neighbors points
getAngles(waypoints)
waypoints
the waypoints of the flight plan