1 package org
.usfirst
.frc
.team3501
.robot
.subsystems
;
3 import org
.usfirst
.frc
.team3501
.robot
.Constants
;
5 import edu
.wpi
.first
.wpilibj
.CANTalon
;
6 import edu
.wpi
.first
.wpilibj
.command
.Subsystem
;
8 public class IntakeArm
extends Subsystem
{
10 private CANTalon intake
;
13 intake
= new CANTalon(Constants
.IntakeArm
.PORT
);
18 * Intake only moves once at the beginning of the match. It lowers at the
19 * beginning of the match and is held there by mechanical stops until the end
22 * Must be used in a command that has a timer variable to stop it.
24 public void dropIntake() {
28 public void intake() {
29 intake
.set(Constants
.IntakeArm
.INTAKE_SPEED
);
32 public void output() {
33 intake
.set(Constants
.IntakeArm
.OUTPUT_SPEED
);
37 protected void initDefaultCommand() {