View Single Post
  #2   Spotlight this post!  
Unread 25-02-2016, 15:34
Rocinante Rocinante is offline
Registered User
FRC #1994
 
Join Date: Jan 2016
Location: Kansas City Kansas
Posts: 4
Rocinante is an unknown quantity at this point
Re: Autonomous Timer Issue

Here is our code as of bagging up the robot. We cannot get it to move to the next steps of ArmDown, Turn. and Shoot. It just keep driving forward. If we switch code around whatever is in the top slot just keeps going on and on. So we are attaching to the code however the code does not seem to attach to a timer. So trying to attach a timer.

Public classAutonomous extends CommandGroup

public static double getFPGATimestamp() {
return 0;
}

public Autonomous() {
requires(Robot.drivetrain);
requires(Robot.robotshooter);
requires(Robot.armstart);

addSequential(new DriveForward(3.0));
addParallel(new ArmDown());
addSequential(new Turn(2.0));
addSequential(new Shoot(2.0));

Last edited by Rocinante : 25-02-2016 at 15:46. Reason: Forgot a line of code that could be helpful.
Reply With Quote