Thread
:
Loop in autonomous carries on into teleop and stops anything from working?
View Single Post
#
3
31-01-2012, 20:51
joelg236
4334 Retired Mentor & Alumni
AKA: Joel Gallant
no team
Team Role: Mentor
Join Date: Dec 2011
Rookie Year: 2012
Location: Calgary
Posts: 733
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.
joelg236
View Public Profile
Find all posts by joelg236
Find CD-Media Photos by joelg236
Find CD-Media Papers by joelg236