This commit is contained in:
EdwardFaucher 2022-11-21 18:57:23 -05:00
parent bfe9d3c62b
commit f683282775
2 changed files with 9 additions and 5 deletions

View File

@ -2,7 +2,10 @@
"NTProvider": {
"types": {
"/FMSInfo": "FMSInfo",
"/LiveWindow/Ungrouped/Scheduler": "Scheduler"
"/LiveWindow/BasePilotable": "Subsystem",
"/LiveWindow/Ungrouped/MecanumDrive[1]": "MecanumDrive",
"/LiveWindow/Ungrouped/Scheduler": "Scheduler",
"/LiveWindow/Ungrouped/navX-Sensor[4]": "Gyro"
}
}
}

View File

@ -6,6 +6,7 @@ package frc.robot.subsystems;
import edu.wpi.first.wpilibj.DoubleSolenoid;
import edu.wpi.first.wpilibj.PneumaticsModuleType;
import edu.wpi.first.wpilibj.DoubleSolenoid.Value;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
import frc.robot.Constants;
@ -19,16 +20,16 @@ public class Poussoir extends SubsystemBase {
}
public void pousser(){
pousser.set(Value.kForward);
}
public void bloquer(){
bloqueur.set(Value.kForward);
}
public void debloque(){
bloqueur.set(Value.kReverse);
}
public void tirer(){
pousser.set(Value.kReverse);
}