more bindings n stuff

This commit is contained in:
2026-03-05 00:28:37 -05:00
parent 4171da889f
commit 77f2c54a90
4 changed files with 6 additions and 6 deletions

View File

@@ -83,8 +83,8 @@ public class RobotContainer {
shiftTimer = new Timer();
shiftTimer.reset();
//configureBindings();
testConfigureBindings();
configureBindings();
//testConfigureBindings();
configureShiftDisplay();
if(AutoConstants.kAutoConfigOk) {

View File

@@ -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);
}
}

View File

@@ -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;

View File

@@ -76,6 +76,7 @@ public class IntakePivot extends SubsystemBase {
currentTargetPosition = null;
leftMotor.set(speed.getAsDouble() * IntakePivotConstants.kMaxManualSpeedMultiplier);
rightMotor.set(speed.getAsDouble() * IntakePivotConstants.kMaxManualSpeedMultiplier);
});
}