Skip to content

Commit 5025ded

Browse files
committed
fixed the set angle and removed comment
1 parent b8aaf44 commit 5025ded

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static class mapIntake {
4242
public static final int INTAKE_ALGAE_CAN = 13;
4343

4444
// Coral intake sensors
45-
public static final int CORAL_INTAKE_SENSOR = 14; // Digital input for coral intake sensor
45+
public static final int CORAL_INTAKE_SENSOR = 14;
4646
}
4747

4848
// Elevator ID 21-30

src/main/java/frc/robot/subsystems/Intake.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public Angle getLastDesiredPivotAngle() {
7272
}
7373

7474
public void setIntakePivotMotor(double Angle) {
75-
intakePivotMotor.setVoltage(Angle);
75+
intakePivotMotor.setPosition(Angle);
7676
}
7777

7878
public void setCoralIntakeMotor(double speed) {

0 commit comments

Comments
 (0)