Skip to content

Commit

Permalink
FIxing constants and adding things,
Browse files Browse the repository at this point in the history
  • Loading branch information
DLipovac93 committed Mar 11, 2024
1 parent c30254f commit acb27d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ public static final class DumpConstants {

public static final class ElevatorConstants {
// upy downy chain lift thing
public static final int IN = 2;
public static final int OUT = 13;
public static final int IN = 3;
public static final int OUT = 8;
}
}

Expand Down
5 changes: 3 additions & 2 deletions src/main/java/frc/robot/subsystems/Elevator.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import frc.robot.Constants.PneumaticsConstants.ElevatorConstants;
import frc.robot.util.Time;

public class Elevator {
public class Elevator extends SubsystemBase {

// double solenoid to control the pistons */
private DoubleSolenoid doubleSolenoid =
Expand All @@ -24,7 +24,7 @@ public class Elevator {
ElevatorConstants.OUT);

/** Create new pnuematic system */
public elevator() {
public Elevator() {
System.out.println("Pneumatic Elevator initialized");
SmartDashboard.putBoolean(getName(), false);
}
Expand All @@ -37,4 +37,5 @@ public void open() {
public void close() {
doubleSolenoid.set(DoubleSolenoid.Value.kReverse);
SmartDashboard.putBoolean(getName(), false);
}
}

0 comments on commit acb27d4

Please sign in to comment.