package org.usfirst.frc.team3501.robot.commands.shooter;
import org.usfirst.frc.team3501.robot.Constants.IntakeArm;
-import org.usfirst.frc.team3501.robot.Constants.Shooter;
import org.usfirst.frc.team3501.robot.commands.intakearm.MoveIntakeArm;
import org.usfirst.frc.team3501.robot.commands.intakearm.TimeRunIntake;
* post-conditions: catapult is retracted, intake is extended
*/
public class ShootAtHighGoal extends CommandGroup {
- // TODO: test for this
- private static final double WAIT_SECONDS = 1.0;
+ private static final double WAIT_SECONDS = 0.4;
+ private static final double TIME_FOR_BALL_TO_CATAPULT_ROLLING = 1.0;
public ShootAtHighGoal() {
addSequential(new WaitCommand(WAIT_SECONDS));
// get ball onto catapult
- addSequential(new TimeRunIntake(Shooter.TIME_FOR_BALL_TO_CATAPULT_ROLLING));
-
- addSequential(new WaitCommand(WAIT_SECONDS));
+ addSequential(new TimeRunIntake(TIME_FOR_BALL_TO_CATAPULT_ROLLING));
// shoot catapult pistons
addSequential(new FireCatapult());