|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Autonomous Help
I wanted to know how to make a motor wait and then move in autonomous.
Autonomous Code So Far: Code:
public void autonomousPeriodic()
{
ShooterFront.set(50);
ShooterBack.set(50);
//Wanted to add 3 second wait
servo.setAngle(90);
//Wanted to add 3 second wait
servo.setAngle(180);
//Wanted to add 3 second wait
servo.setAngle(90);
//Wanted to add 3 second wait
servo.setAngle(180);
//Wanted to add 3 second wait
servo.setAngle(90);
//Wanted to add 3 second wait
servo.setAngle(180);
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|