Skip to content

Commit

Permalink
Refactor kFlipperSolenoidId to kFlipperSolenoidId
Browse files Browse the repository at this point in the history
  • Loading branch information
J-James committed Feb 12, 2019
1 parent 899d90b commit 8832bfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/spartronics4915/frc2019/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public class Constants

// Cargo Chute
public static final int kRampMotorId = 5;
public static final int kFlipperSolenoidId = 3;
public static final int kRampSolenoidId = 3;
public static final int kRampSensorId = 6;
public static final double kRampSpeed = 1.0; // TODO: tune
public static final double kShootSpeed = 1.0; // TODO: tune
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private CargoChute()
if (!CANProbe.getInstance().validatePCMId(Constants.kCargoHatchArmPCMId)) throw new RuntimeException("CargoChute PCM isn't on the CAN bus!");

mRampMotor = TalonSRXFactory.createDefaultTalon(Constants.kRampMotorId);
mRampSolenoid = new Solenoid(Constants.kCargoHatchArmPCMId, Constants.kFlipperSolenoidId);
mRampSolenoid = new Solenoid(Constants.kCargoHatchArmPCMId, Constants.kRampSolenoidId);
mRampSensor = new A21IRSensor(Constants.kRampSensorId);
}
catch (Exception e)
Expand Down

0 comments on commit 8832bfb

Please sign in to comment.