2021-10-07 17:31:03 -06:00
|
|
|
// Copyright (c) FIRST and other WPILib contributors.
|
|
|
|
|
// 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 frc4388.robot.subsystems;
|
|
|
|
|
|
|
|
|
|
import edu.wpi.first.wpilibj2.command.SubsystemBase;
|
|
|
|
|
|
|
|
|
|
import edu.wpi.first.wbilib.Solnoid;
|
|
|
|
|
|
|
|
|
|
public class ShootTube extends SubsystemBase {
|
|
|
|
|
/** Creates a new ShootTube. */
|
2021-10-11 18:00:20 -06:00
|
|
|
Solenoid m_solenoids;
|
|
|
|
|
public ShootTube(Solenoid[] solenoids) {
|
|
|
|
|
m_solenoids = solenoids;
|
2021-10-07 17:31:03 -06:00
|
|
|
}
|
|
|
|
|
|
2021-10-11 18:00:20 -06:00
|
|
|
public void ShootTubeSet(boolean arg, Solenoid tube) {
|
|
|
|
|
tube.set(arg);
|
2021-10-07 17:31:03 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void periodic() {
|
|
|
|
|
// This method will be called once per scheduler run
|
|
|
|
|
}
|
|
|
|
|
}
|