|
Re: Bizarre Driving Issue
I don't doubt you, but doesn't overflow involve the numbers becoming too large? Given the code, the largest numbers should occur at full forward and full reverse, but the failure occurs for all inputs below 122 and none above with p2_y and for all inputs above 132 and none below with p2_x. I mean, the largest number that occurs at any point is 15494 (from p2_y=254) and that works just fine. Of course, I sort of get the feeling I'm displaying some horrible ignorance here. Too bad it's sort of difficult to get into the school and test these things out at 12:44 AM.
|