I'm currently following all steps which are awesome and well explained.
It works great, however sometimes (usually when turning), the car stops and shows an overflow error specifying : cannot convert float infinity to integer (line 294 in hand_coded_lane_follower) :
x1 = max(-width, min(2 * width, int((y1 - intercept) / slope)))
Has anyone had this issue and has been able to fix it ?
Hello,
I'm currently following all steps which are awesome and well explained. It works great, however sometimes (usually when turning), the car stops and shows an overflow error specifying : cannot convert float infinity to integer (line 294 in hand_coded_lane_follower) :
x1 = max(-width, min(2 * width, int((y1 - intercept) / slope)))
Has anyone had this issue and has been able to fix it ?