From bfdca95893ad817ce1c2c4767fd1fee7b46d12ac Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 14 Nov 2022 18:40:56 -0500 Subject: [PATCH] gcbvcnv --- .../Pistonshaker.java} | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) rename src/main/java/frc/robot/{subsystem/pistonshaker.java => subsystems/Pistonshaker.java} (56%) diff --git a/src/main/java/frc/robot/subsystem/pistonshaker.java b/src/main/java/frc/robot/subsystems/Pistonshaker.java similarity index 56% rename from src/main/java/frc/robot/subsystem/pistonshaker.java rename to src/main/java/frc/robot/subsystems/Pistonshaker.java index 0157b86..eadd140 100644 --- a/src/main/java/frc/robot/subsystem/pistonshaker.java +++ b/src/main/java/frc/robot/subsystems/Pistonshaker.java @@ -2,13 +2,19 @@ // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. -package frc.robot.subsystem; +package frc.robot.subsystems; +import edu.wpi.first.wpilibj.DoubleSolenoid; +import edu.wpi.first.wpilibj.PneumaticsModuleType; import edu.wpi.first.wpilibj2.command.SubsystemBase; -public class pistonshaker extends SubsystemBase { +public class Pistonshaker extends SubsystemBase { + private DoubleSolenoid shaker = new DoubleSolenoid(PneumaticsModuleType.CTREPCM,0,1); /** Creates a new pistonshaker. */ - public pistonshaker() {} + + public Pistonshaker() { + + } @Override public void periodic() {