View Single Post
  #1   Spotlight this post!  
Unread 27-02-2012, 23:35
touchdownjesus4's Avatar
touchdownjesus4 touchdownjesus4 is offline
Registered User
AKA: Tyler Vonderhaar
FRC #4028 (Eagle Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Cincinnati, OH
Posts: 64
touchdownjesus4 is on a distinguished road
Re: Help Programming Autonomous

Ok so this is what I have set up, will the Timer.delay(3) delay the next command from running for three seconds, or do I have to use something else?

Quote:
public class AutonomousCommand extends CommandGroup {

public AutonomousCommand() {
addParallel(new AutonomousShoot());
Timer.delay(3);
addSequential(new AutonomousDeliver());
addSequential(new AutonomousConveyor());
addSequential(new AutonomousDeliver());
addSequential(new AllStop());
Reply With Quote