View Single Post
  #2   Spotlight this post!  
Unread 04-02-2009, 11:02
Tack610's Avatar
Tack610 Tack610 is offline
Registered User
FRC #2413
 
Join Date: Jan 2008
Location: Phoenix, AZ
Posts: 11
Tack610 is an unknown quantity at this point
Re: Big problem! Need your help

Quote:
Originally Posted by eagle33199 View Post
Here's a few things i would try to diagnose the problem - simply knowing that "it doesn't work" doesn't help narrow down the problem to a scope where you can find a solution

1. Download the SimpleRobot example code. This takes all of the "risk" of your own customized code out of the picture.
2. Run the autonomous mode of SimpleRobot. This takes the joystick inputs out of the equation. If the motors don't spin, then the problem is probably somewhere in the wiring. If they do spin, go on to the next step.
3. Run the teleoperated mode of SimpleRobot. This lets you see the "full path" - you see everything from the joystick inputs to motors moving.
4. Download your own code again, and test it out.

So, depending on where you fail above, you'll know where the problem is. Fail on step 2? check the wiring. Fail on step 3? Check the DS and the joysticks. Fail on step 4? give the programmers some more Mountain Dew, cause they're gonna be there debugging for a long time...
We never put any code into the robot but we try it and see if the base code maybe got corrupted, if thats even possible
__________________
Joe