more bindings n stuff

This commit is contained in:
Tyler-J42 committed 2026-03-05 00:28:37 -05:00
1 parent 4171da889f
commit 77f2c54a90
4 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -83,8 +83,8 @@ public class RobotContainer {
shiftTimer = new Timer();
shiftTimer.reset();
//configureBindings();
testConfigureBindings();
configureBindings();
//testConfigureBindings();
configureShiftDisplay();
if(AutoConstants.kAutoConfigOk) {
@@ -51,7 +51,7 @@ public class IntakePivotConstants {
KLeftMotorConfig
.idleMode(kIdleMode)
.smartCurrentLimit(kCurrentLimit)
.inverted(kInvertMotors);
.inverted(false);
KLeftMotorConfig.encoder
.positionConversionFactor(kConversionFactor)
.velocityConversionFactor(kConversionFactor / 60);
@@ -67,7 +67,7 @@ public class IntakePivotConstants {
kRightMotorConfig
.idleMode(kIdleMode)
.smartCurrentLimit(kCurrentLimit)
.inverted(kInvertMotors)
.inverted(false)
.follow(kLeftMotorCANID);
}
}
@@ -9,12 +9,11 @@ import edu.wpi.first.math.util.Units;
public class ShooterConstants {
public enum ShooterSpeeds {
kHubSpeed(3000.0),
kFeedSpeed(5000.0);
kFeedSpeed(5000.0),
kIdleSpeed(750.0);
private double speedMPS;
private double speedRPM;
private double kIdleSpeed;
private ShooterSpeeds(double speedRPM) {
this.speedMPS = speedRPM * kWheelDiameter*Math.PI;
@@ -76,6 +76,7 @@ public class IntakePivot extends SubsystemBase {
currentTargetPosition = null;
leftMotor.set(speed.getAsDouble() * IntakePivotConstants.kMaxManualSpeedMultiplier);
rightMotor.set(speed.getAsDouble() * IntakePivotConstants.kMaxManualSpeedMultiplier);
});
}