39 lines
884 B
Java
39 lines
884 B
Java
// 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 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 Poussoir extends SubsystemBase {
|
|
private DoubleSolenoid pousser = new DoubleSolenoid(PneumaticsModuleType.CTREPCM,Constants.PistonPousserR,Constants.PistonPousserF );
|
|
|
|
/** Creates a new Poussoir. */
|
|
public Poussoir() {
|
|
|
|
}
|
|
|
|
public void pousser(){
|
|
|
|
}
|
|
public void bloquer(){
|
|
|
|
}
|
|
public void debloque(){
|
|
|
|
}
|
|
public void tirer(){
|
|
|
|
}
|
|
|
|
|
|
@Override
|
|
public void periodic() {
|
|
// This method will be called once per scheduler run
|
|
}
|
|
}
|