Skip to content

Commit cba661a

Browse files
authored
Merge branch 'staging' into tramp
2 parents 862ef8d + ba9104f commit cba661a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/team1540/robot2024/subsystems/shooter/ShooterPivotIOTalonFX.java

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public ShooterPivotIOTalonFX() {
5050
motorConfig.Slot0.kS = KS;
5151
motorConfig.Slot0.kG = KG;
5252
motorConfig.Slot0.kV = KV;
53+
motorConfig.Slot0.GravityType = GravityTypeValue.Arm_Cosine;
5354

5455
motorConfig.MotionMagic.MotionMagicCruiseVelocity = CRUISE_VELOCITY_RPS;
5556
motorConfig.MotionMagic.MotionMagicAcceleration = MAX_ACCEL_RPS2;

0 commit comments

Comments
 (0)