|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#9
|
|||||
|
|||||
|
Re: Issue with autonomous mode and some newbie questions
4) I use to stop my builds before switching over to the driver station. I actually only (very) recently discovered that I can keep it running to debug my code!
So to answer your question, let's say I have a teleop function like so: Code:
public void operatorControl() {
while(isOperatorControl()) {
System.out.println("This code will show up a million times when I enable Teleop from the driver station!");
}
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|