Skip to content

Commit 787c7a8

Browse files
changed voltage methods
1 parent 33bed1c commit 787c7a8

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

src/main/java/frc/robot/subsystems/elevator/ElevatorIO.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,12 @@
1111
//motor is neos
1212
public interface ElevatorIO {
1313
@AutoLog
14-
15-
public static class ElevatorIOInputs {
16-
//public Voltage
17-
public boolean limitSwitchPressed = false;
14+
public static class ElevatorIOInputs {
15+
public boolean limitSwitchPressed = false;
1816
}
1917

20-
default void setVoltage(Double Voltage){}
21-
default double getVoltage() {
22-
return 67.5;
23-
}
18+
19+
default void setVoltage(double voltage) {}
2420

2521
default void updateInputs(ElevatorIOInputs inputs) {}
2622

0 commit comments

Comments
 (0)