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

Commit

Permalink
perf(arm): Improve single-joint tune.
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenheroux committed Feb 9, 2024
1 parent 4c6dca1 commit b7a2c54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/arm/ArmConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ public static class ShoulderMotorConstants {
public static final double SHOULDER_TO_ELBOW_DISTANCE = Units.inchesToMeters(16.775);

/** Proportional gain in volts per rotation. */
public static final double KP = 24.0;
public static final double KP = 36.0;

/** Maximum speed of the shoulder joint in rotations per second. */
public static final double MAXIMUM_SPEED = 1.5;

/** Maximum acceleration of the shoulder joint in rotations per second per second. */
public static final double MAXIMUM_ACCELERATION = 20.0;
public static final double MAXIMUM_ACCELERATION = 5.0;
}

/** Constants for the elbow motor. */
Expand Down

0 comments on commit b7a2c54

Please sign in to comment.