Skip to content

Commit e8551a8

Browse files
committed
amp-bar id 18
1 parent 7ff1c1b commit e8551a8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/frc/robot/RobotMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static class ElevatorIDs {
1616
// public static final int RIGHT = 9;
1717
public static final int LEFT = 8;
1818
public static final int RIGHT = 9;
19-
public static final int BAR = 0;
19+
public static final int BAR = 18;
2020
}
2121

2222
public static class PivotIDs {

src/main/java/frc/robot/subsystems/elevator/AmpBarIOSparkMAX.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public AmpBarIOSparkMAX(int motorID) {
1818
barMotor = new CANSparkMax(motorID, CANSparkLowLevel.MotorType.kBrushless);
1919

2020
pid = barMotor.getPIDController();
21-
pid.setFeedbackDevice(barMotor.getAbsoluteEncoder());
21+
// pid.setFeedbackDevice(barMotor.getAbsoluteEncoder());
2222

2323
barMotor.restoreFactoryDefaults();
2424
barMotor.setCANTimeout(250);

0 commit comments

Comments
 (0)