|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
While loop not working in autonomous
Hi all,
I have created a while loop in autonomous that uses a boolean from the vision processing (hot goal). I have a System.out that will print repeatedly in NetConsole, but my relay will only go forward the first time. Relevant code below: Code:
while(h){
relay.set(Relay.Value.kForward);
System.out.println("Firing");
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|