View Single Post
  #3   Spotlight this post!  
Unread 31-01-2012, 20:51
joelg236 joelg236 is offline
4334 Retired Mentor & Alumni
AKA: Joel Gallant
no team
Team Role: Mentor
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Calgary
Posts: 733
joelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond repute
Re: Loop in autonomous carries on into teleop and stops anything from working?

Funny, we fixed that, and still have the error with our very simple fix.
This does the same thing.

Code:
timer.start();
do{
drivetrain.drive(0.5,0.0);
}while(timer.get()<4);
And yes, we did initialize the timer.
Reply With Quote