Thread: Autonomous Help
View Single Post
  #1   Spotlight this post!  
Unread 03-03-2013, 20:31
Mr.Roboto3335's Avatar
Mr.Roboto3335 Mr.Roboto3335 is offline
Wait, What?
AKA: Jimmy
FRC #3335 (Cy-Borgs)
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Texas
Posts: 47
Mr.Roboto3335 is an unknown quantity at this point
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);
    }
__________________
Wait, what?
Reply With Quote