Testing and fixing the intake

This commit is contained in:
mayabartels
2020-02-25 19:32:43 -07:00
parent 29a2dae680
commit 1bad4f73f4
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -75,8 +75,8 @@ public final class Constants {
}
public static final class IntakeConstants {
public static final int INTAKE_SPARK_ID = -9;
public static final int EXTENDER_SPARK_ID = -10;
public static final int INTAKE_SPARK_ID = 12;
public static final int EXTENDER_SPARK_ID = 13;
}
public static final class ShooterConstants {
@@ -154,8 +154,8 @@ public class RobotContainer {
.whileHeld(new TrackTarget(m_robotShooter));
//Prepares storage for intaking
new JoystickButton(getOperatorJoystick(), XboxController.LEFT_TRIGGER_AXIS)
.whileHeld(new StorageIntakeGroup(m_robotIntake, m_robotStorage));
new JoystickButton(getOperatorJoystick(), XboxController.RIGHT_BUMPER_BUTTON)
.whileHeld(new InstantCommand(() -> m_robotIntake.runIntake(0.3), m_robotIntake));
//Runs storage to outtake
new JoystickButton(getOperatorJoystick(), XboxController.RIGHT_TRIGGER_AXIS)