Redirecting you to http://robotics.stackexchange.com/questions/9728/how-to-check-for-a-sharp-angle-with-a-line-follower?rq=1