gofmannir
19-02-2016, 14:46
Hello :)
I'm trying to implement that when I'm press a button on the joystick the robot starting an automatic actions (in the teleop periodic)...
for example when pressing a button 3 it will called a custom method:
if(stick.getRawButton(3)){
startAutoMoving();
}
But I'm still want the all the other statements and the other action still will work - which means the I cant use here the delay() method...
Any ideas?
I'm trying to implement that when I'm press a button on the joystick the robot starting an automatic actions (in the teleop periodic)...
for example when pressing a button 3 it will called a custom method:
if(stick.getRawButton(3)){
startAutoMoving();
}
But I'm still want the all the other statements and the other action still will work - which means the I cant use here the delay() method...
Any ideas?