Skip to content
This repository was archived by the owner on Oct 26, 2024. It is now read-only.

Commit 8706511

Browse files
renamed function
1 parent 5468284 commit 8706511

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public boolean seesNote() {
5050
return !infrared.get();
5151
}
5252

53-
public boolean cantMove() {
53+
public boolean cannotMove() {
5454
if (seesNote()) {
5555
seen = true;
5656
}
@@ -67,7 +67,7 @@ public double getCurrent() {
6767

6868
@Override
6969
public void configureDashboard() {
70-
namespace.putCommand("move", new MoveGenericSubsystem(this, -0.4).until(this::cantMove));
70+
namespace.putCommand("move", new MoveGenericSubsystem(this, -0.4).until(this::cannotMove));
7171
namespace.putCommand("just move", new MoveGenericSubsystem(this, -0.6));
7272
namespace.putNumber("current", sparkMax::getOutputCurrent);
7373
namespace.putBoolean("sees note", this::seesNote);

0 commit comments

Comments
 (0)