View Single Post
  #6   Spotlight this post!  
Unread 21-03-2014, 10:11
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
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.
Reply With Quote