mirror of
https://github.com/Team4388/2024AcrossTheRidgebotiverse.git
synced 2026-06-09 08:48:03 -06:00
no more joystick warning
This commit is contained in:
@@ -30,9 +30,7 @@ public class Intake extends SubsystemBase {
|
||||
private SparkLimitSwitch reverseLimit;
|
||||
private SparkLimitSwitch intakeforwardLimit;
|
||||
private SparkLimitSwitch intakereverseLimit;
|
||||
|
||||
private Shooter shooter;
|
||||
|
||||
|
||||
private BooleanSupplier sup = () -> true;
|
||||
private BooleanSupplier dup = () -> false;
|
||||
|
||||
@@ -64,7 +62,7 @@ public class Intake extends SubsystemBase {
|
||||
m_spedController.setI(armGains.kI);
|
||||
m_spedController.setD(armGains.kD);
|
||||
|
||||
SmartDashboard.putNumber("Intake Speed", 0.5);
|
||||
SmartDashboard.putNumber("Outtake Speed", IntakeConstants.INTAKE_OUT_SPEED_UNPRESSED);
|
||||
}
|
||||
|
||||
//hanoff
|
||||
@@ -204,6 +202,6 @@ public class Intake extends SubsystemBase {
|
||||
resetPosition();
|
||||
changeIntakeNeutralState();
|
||||
|
||||
smartDashboardOuttakeValue = SmartDashboard.getNumber("Intake Speed", 0.5);
|
||||
smartDashboardOuttakeValue = SmartDashboard.getNumber("Outtake Speed", IntakeConstants.INTAKE_OUT_SPEED_UNPRESSED);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user