import org.usfirst.frc.team3501.robot.Constants.Defense;
import org.usfirst.frc.team3501.robot.subsystems.DefenseArm;
import org.usfirst.frc.team3501.robot.subsystems.DriveTrain;
+import org.usfirst.frc.team3501.robot.subsystems.IntakeArm;
import org.usfirst.frc.team3501.robot.subsystems.Scaler;
import org.usfirst.frc.team3501.robot.subsystems.Shooter;
public static Shooter shooter;
public static Scaler scaler;
public static DefenseArm defenseArm;
+ public static IntakeArm intakeArm;
// Sendable Choosers send a drop down menu to the Smart Dashboard.
SendableChooser positionChooser;
shooter = new Shooter();
scaler = new Scaler();
defenseArm = new DefenseArm();
+ intakeArm = new IntakeArm();
// Sendable Choosers allows the driver to select the position of the robot
// and the positions of the defenses from a drop-down menu on the Smart
package org.usfirst.frc.team3501.robot.commands;
+import org.usfirst.frc.team3501.robot.Robot;
+
import edu.wpi.first.wpilibj.command.Command;
public class MoveIntakeArm extends Command {
public MoveIntakeArm() {
+ requires(Robot.intakeArm);
}
@Override
protected void initialize() {
+ Robot.intakeArm.getArmAngle();
}
@Override
protected void execute() {
+ if (Robot.intakeArm.getArmVoltage() == 1) {
+
+ }
}
@Override