View Single Post
  #11   Spotlight this post!  
Unread 07-02-2007, 00:46
Bio's Avatar
Bio Bio is offline
Registered User
AKA: Brian Dellon
None #1389 (Worst Case Scenario)
Team Role: Programmer
 
Join Date: Mar 2004
Rookie Year: 2003
Location: Bethesda, MD
Posts: 8
Bio is an unknown quantity at this point
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.