public final static int TOGGLE_FLYWHEEL_PORT = 0;
public final static int TOGGLE_INDEXWHEEL_PORT = 0;
-
- }
-
- public static class Shooter {
- // MOTOR CONTROLLERS
- public static final int FLY_WHEEL = 0;
- public static final int INDEX_WHEEL = 0;
}
public static class DriveTrain {
private static DriveTrain driveTrain;
private static Shooter shooter;
private static OI oi;
- private static Shooter shooter;
- private static OI oi;
private static Intake intake;
@Override
return OI.getOI();
}
- public static OI getOI() {
- return OI.getOI();
- }
-
public static Intake getIntake() {
return Intake.getIntake();
}
- public static Intake getIntake() {
- return Intake.getIntake();
-
- }
-
@Override
public void autonomousInit() {
Scheduler.getInstance().add(new TimeDrive(1.5, 0.4));
public StopWinch() {
requires(Robot.getDriveTrain());
- requires(Robot.getClimber());
}
@Override
// Called just before this Command runs the first time
@Override
protected void initialize() {
- Robot.getIntake().runReverseIntake();
-
}
// Called repeatedly when this Command is scheduled to run
@Override
protected void execute() {
-
+ Robot.getIntake().runReverseIntake();
}
// Make this return true when this Command no longer needs to run execute()
// Called just before this Command runs the first time
@Override
protected void initialize() {
- Robot.getIntake().runIntake();
+
}
// Called repeatedly when this Command is scheduled to run
@Override
protected void execute() {
-
+ Robot.getIntake().runIntake();
}
// Called once after isFinished returns true