View Single Post
  #7   Spotlight this post!  
Unread 06-02-2007, 23:15
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

tdlrali: It would be nice if things worked that way, but the point of the code is to find the difference between the input and the end of the deadzone then scaling it to cover 127 values. Finding that difference requires a separate case for above and below, with below subtracting 122 rather than 132. With the code you suggest, holding the controller at full reverse would result in deadx equaling -10.

Kelly: Considering our build team, I'm sort of doubtful we'd ever find enough time with the robot to make an accurate lookup table, but all suggestions are definitely appreciated. Also, no, we have not tried the debugger. I, at least, was not even aware of its existence, though kitscuzz is generally much better informed than I am.

Last edited by Bio : 06-02-2007 at 23:22.