qwerty
This commit is contained in:
parent
bfdca95893
commit
bd4103944c
@ -12,4 +12,7 @@ package frc.robot;
|
||||
* <p>It is advised to statically import this class (or one of its inner classes) wherever the
|
||||
* constants are needed, to reduce verbosity.
|
||||
*/
|
||||
public final class Constants {}
|
||||
public final class Constants {
|
||||
public static final int pistonQuiShakef = 0;
|
||||
public static final int pistonQuiShakeb = 1;
|
||||
}
|
||||
|
@ -7,9 +7,10 @@ package frc.robot.subsystems;
|
||||
import edu.wpi.first.wpilibj.DoubleSolenoid;
|
||||
import edu.wpi.first.wpilibj.PneumaticsModuleType;
|
||||
import edu.wpi.first.wpilibj2.command.SubsystemBase;
|
||||
import frc.robot.Constants;
|
||||
|
||||
public class Pistonshaker extends SubsystemBase {
|
||||
private DoubleSolenoid shaker = new DoubleSolenoid(PneumaticsModuleType.CTREPCM,0,1);
|
||||
private DoubleSolenoid shaker = new DoubleSolenoid(PneumaticsModuleType.CTREPCM,Constants.pistonQuiShakeb,Constants.pistonQuiShakef);
|
||||
/** Creates a new pistonshaker. */
|
||||
|
||||
public Pistonshaker() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user