]> git.taranathan.com Git - FRC2026.git/commitdiff
rebdz
authorWesley28w <wesleycwong@gmail.com>
Wed, 4 Mar 2026 14:21:20 +0000 (06:21 -0800)
committerWesley28w <wesleycwong@gmail.com>
Wed, 4 Mar 2026 14:21:20 +0000 (06:21 -0800)
src/main/java/frc/robot/subsystems/turret/TurretConstants.java

index d63095113287930312f097af5e0a82cd7c3096da..8b0d7df8f9c73a62d2c4aae035de3a56aff44988 100644 (file)
@@ -40,23 +40,3 @@ public class TurretConstants {
     public static final double CALIBRATION_CURRENT_THRESHOLD = 9.0; // A
 
 }
-/*
-turret is 140
-left encoder is 15
-right encoder is 22
-
-turret cannot go beyond 15 * 22 teeth (330) (2.3 rotations)
-2.3 * 360 = 828 deg (range of values we can have in degrees)
-
-picking 532 deg
-
-e_1_val = 532 * (140/15) % 360 = 285.33_
-e_2_val = 532 * (140/22) % 360 = 145.45_45
-
-(n + (E/360))Gr = A
-n = number of possible countable rot
-array only needs to be 0 - less than the teeth count of the other gear.
-
-
-
-*/