From 4b5864e082143f3ab60b5a930e2d204266512f91 Mon Sep 17 00:00:00 2001 From: BenG49 Date: Fri, 26 Jan 2024 10:51:08 -0500 Subject: [PATCH] Use defaults for motor configs --- .../java/com/stuypulse/robot/constants/Motors.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/stuypulse/robot/constants/Motors.java b/src/main/java/com/stuypulse/robot/constants/Motors.java index 5957a3d5..62982d2b 100644 --- a/src/main/java/com/stuypulse/robot/constants/Motors.java +++ b/src/main/java/com/stuypulse/robot/constants/Motors.java @@ -25,8 +25,8 @@ public interface Motors { /** Classes to store all of the values a motor needs */ public interface Amper { - CANSparkMaxConfig LIFT_MOTOR = new CANSparkMaxConfig(false, IdleMode.kCoast, 80, 0.1); - CANSparkMaxConfig SCORE_MOTOR = new CANSparkMaxConfig(false, IdleMode.kBrake, 80, 0.1); + CANSparkMaxConfig LIFT_MOTOR = new CANSparkMaxConfig(false, IdleMode.kCoast); + CANSparkMaxConfig SCORE_MOTOR = new CANSparkMaxConfig(false, IdleMode.kBrake); } public interface Swerve { @@ -35,7 +35,7 @@ public interface Swerve { } public interface Intake { - CANSparkMaxConfig MOTOR_CONFIG = new CANSparkMaxConfig(false, IdleMode.kBrake, 80, 0.1); + CANSparkMaxConfig MOTOR_CONFIG = new CANSparkMaxConfig(false, IdleMode.kBrake); } public interface Shooter { @@ -66,7 +66,7 @@ public TalonSRXConfig( } public TalonSRXConfig(boolean inverted, NeutralMode neutralMode, int peakCurrentLimitAmps) { - this(inverted, neutralMode, peakCurrentLimitAmps, 0.0); + this(inverted, neutralMode, peakCurrentLimitAmps, 0.05); } public TalonSRXConfig(boolean inverted, NeutralMode neutralMode) { @@ -99,7 +99,7 @@ public VictorSPXConfig( } public VictorSPXConfig(boolean inverted, NeutralMode neutralMode) { - this(inverted, neutralMode, 0.0); + this(inverted, neutralMode, 0.05); } public void configure(WPI_VictorSPX motor) { @@ -127,7 +127,7 @@ public CANSparkMaxConfig( } public CANSparkMaxConfig(boolean inverted, IdleMode idleMode, int currentLimitAmps) { - this(inverted, idleMode, currentLimitAmps, 0.0); + this(inverted, idleMode, currentLimitAmps, 0.05); } public CANSparkMaxConfig(boolean inverted, IdleMode idleMode) {