Skip to content

Commit 9561849

Browse files
committed
CANCoder units issue
1 parent 4cd84ea commit 9561849

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/frc/robot/Constants.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,7 @@ public static class EndEffectorConstants2 {
665665
kEndEffectorConfig.talonCANID =
666666
new CANDeviceId(EndEffectorConstants.pivotID, MISC_CANIVORE);
667667
kEndEffectorConfig.unitToRotorRatio = 1 / EndEffectorConstants.PIVOT_GEAR_RATIO;
668+
kEndEffectorConfig.cancoderToUnitsRatio = EndEffectorConstants.PIVOT_STM;
668669
kEndEffectorConfig.fxConfig = EndEffectorConstants.PIVOT_TALON_CONFIG;
669670

670671
// software limit switches at min/max positions

0 commit comments

Comments
 (0)