Skip to content

Commit

Permalink
added back current limit
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchen20 committed Apr 11, 2024
1 parent da91dfa commit 83bf25f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ public class LeafBlowerIOTalonSRX implements LeafBlowerIO {

private final TalonSRX leafBlower;

// private final double currentAmps;
// private final double appliedVolts;

public LeafBlowerIOTalonSRX(int id) {

leafBlower = new TalonSRX(id);
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/subsystems/Shooter/Shooter.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ public NoteState seesNote() {
lastNoteState = NoteState.SENSOR;
return NoteState.SENSOR;

// } else if (feedInputs.currentAmps > 12.9) {
} else if (feedInputs.currentAmps > 10000) {
} else if (feedInputs.currentAmps > 12.9) {
// } else if (feedInputs.currentAmps > 10000) {
Logger.recordOutput("see note val", "current");
lastNoteState = NoteState.CURRENT;
return NoteState.CURRENT;
Expand Down

0 comments on commit 83bf25f

Please sign in to comment.