|
Re: PIDSubsystem works once then disables the entire RobotDrive
https://www.google.com/search?q=recu...sm=93&ie=UTF-8
Try the "Did you mean".
Now look at this line of code:
Quote:
public void reset() {
enc.reset();
reset();
}
|
I'm not going to give you the full answer, but here's a little mod to help you figure it out.
Quote:
private int i = 0;
public void reset() {
i++;
if(i > 1000) System.out.println("Please, please, please, STOP RESETTING ME!");
enc.reset();
reset();
}
|
__________________
"Never let your schooling interfere with your education" -Mark Twain
Last edited by mwtidd : 21-03-2014 at 10:14.
|