Skip to content

Commit

Permalink
undoing last changes as both branch merged
Browse files Browse the repository at this point in the history
  • Loading branch information
Thierry-Lachance committed Feb 6, 2024
1 parent 070f5a2 commit 18a452e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void robotInit() {
// Instantiate our RobotContainer. This will perform all our button bindings, and put our
// autonomous chooser on the dashboard.
m_robotContainer = new RobotContainer();
compressor = new Compressor(1, PneumaticsModuleType.REVPH);
compressor = new Compressor(1, PneumaticsModuleType.CTREPCM);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/AmpShooter.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public AmpShooter() {
piston =
new DoubleSolenoid(
1,
PneumaticsModuleType.REVPH,
PneumaticsModuleType.CTREPCM,
pcm.PISTON_AMP_SHOOTER_FORWARD,
pcm.PISTON_AMP_SHOOTER_REVERSE);

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/subsystems/ClimberInAnBox.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ public ClimberInAnBox() {
piston1 =
new DoubleSolenoid(
1,
PneumaticsModuleType.REVPH,
PneumaticsModuleType.CTREPCM,
pcm.PISTON_CLIMBER_FORWARD_1,
pcm.PISTON_CLIMBER_REVERSE_1);
piston2 =
new DoubleSolenoid(
1,
PneumaticsModuleType.REVPH,
PneumaticsModuleType.CTREPCM,
pcm.PISTON_CLIMBER_FORWARD_2,
pcm.PISTON_CLIMBER_REVERSE_2);
piston1.set(DoubleSolenoid.Value.kReverse);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/Drivetrain.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class Drivetrain extends SubsystemBase {
private MecanumDrive m_robotDrive;

piston =
new DoubleSolenoid(1, PneumaticsModuleType.REVPH, pcm.PISTON_FORWARD, pcm.PISTON_REVERSE);
new DoubleSolenoid(1, PneumaticsModuleType.CTREPCM, pcm.PISTON_FORWARD, pcm.PISTON_REVERSE);

avantgauche = new CANSparkMax(deviceNumber.DeviceNumberAvantGauche, MotorType.kBrushless);
avantdroit = new CANSparkMax(deviceNumber.DeviceNumberAvantDroit, MotorType.kBrushless);
Expand Down

0 comments on commit 18a452e

Please sign in to comment.