Skip to content

Commit

Permalink
fixing shooter and intake stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
suhaank077 committed Feb 17, 2024
1 parent 09be8ce commit 188f3af
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/main/java/org/ghrobotics/frc2024/subsystems/Intake.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@ public void periodic() {
}

//get, set % output on intake. parameter is percent output [-1, 1]
public void setIntakePercent(double value) {
public double getPercent() {
return io_.leader_bridge_demand;
}
public void setPercent(double value) {
io_.leader_bridge_demand = value;
}
//Returns the % output of the intake and bridge.
public double getIntakePercent() {
return io_.leader_bridge_demand;
}

// IO
public static class PeriodicIO {
//input
Expand Down

0 comments on commit 188f3af

Please sign in to comment.