swerve motor configuration (non-PID)

This commit is contained in:
aarav18
2021-12-06 17:45:45 -07:00
parent 8a5f994dd9
commit 91881c52f0
2 changed files with 41 additions and 0 deletions
@@ -58,6 +58,10 @@ public final class Constants {
public static final int SWERVE_PID_LOOP_IDX = 1;
public static final int SWERVE_TIMEOUT_MS = 30;
public static final Gains SWERVE_GAINS = new Gains(0.0, 0.0, 0.0, 0.0, 0, 1.0);
// swerve configuration
public static final double NEUTRAL_DEADBAND = 0.04;
public static final double OPEN_LOOP_RAMP_RATE = 0.2;
}
public static final class LEDConstants {
public static final int LED_SPARK_ID = 0;