Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
fix(swerve): Tune.
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenheroux committed Jan 18, 2024
1 parent 75af1e3 commit 92a9839
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/frc/robot/swerve/SwerveConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static class MK4iConstants {
/** Constants for steer feedback controllers. */
public static class SteerMotorConstants {
/** Maximum attainable speed. */
public static final Rotation2d MAXIMUM_SPEED = Rotation2d.fromRotations(1.0);
public static final Rotation2d MAXIMUM_SPEED = Rotation2d.fromRotations(1.5);

/** Maximum attainable acceleration. */
public static final Rotation2d MAXIMUM_ACCELERATION = Rotation2d.fromRotations(1.0);
Expand All @@ -88,11 +88,11 @@ public static class SteerMotorConstants {
public static final double FEEDBACK_KD = 0.25;

/** Feedforward static constant in volts. */
public static final double FEEDFORWARD_KS = 0.14;
public static final double FEEDFORWARD_KS = 0.16;

/** Feedforward velocity constant in volts per rotation per second. */
// TODO Tune
public static final double FEEDFORWARD_KV = 0.0;
public static final double FEEDFORWARD_KV = 0.42;
}

public static class DriveMotorConstants {
Expand Down

0 comments on commit 92a9839

Please sign in to comment.