We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ff1c1b commit e8551a8Copy full SHA for e8551a8
2 files changed
src/main/java/frc/robot/RobotMap.java
@@ -16,7 +16,7 @@ public static class ElevatorIDs {
16
// public static final int RIGHT = 9;
17
public static final int LEFT = 8;
18
public static final int RIGHT = 9;
19
- public static final int BAR = 0;
+ public static final int BAR = 18;
20
}
21
22
public static class PivotIDs {
src/main/java/frc/robot/subsystems/elevator/AmpBarIOSparkMAX.java
@@ -18,7 +18,7 @@ public AmpBarIOSparkMAX(int motorID) {
barMotor = new CANSparkMax(motorID, CANSparkLowLevel.MotorType.kBrushless);
pid = barMotor.getPIDController();
- pid.setFeedbackDevice(barMotor.getAbsoluteEncoder());
+ // pid.setFeedbackDevice(barMotor.getAbsoluteEncoder());
23
barMotor.restoreFactoryDefaults();
24
barMotor.setCANTimeout(250);
0 commit comments