Quote:
Originally Posted by Zer0
Do I just put the Drive system in the while loop to update it or everything.
|
Yes.
The standard usage of Simple Robot is something like this:
Code:
public OperatorControl(){
while (isOperatorControl() and isEnabled()){
try {
Thread.sleep(10L);
} catch (Exception e){
e.printStackTrace();
}
//insert code here, to be called every time through the while loop
}
}