afdg
This commit is contained in:
parent
bfe9d3c62b
commit
f683282775
@ -2,7 +2,10 @@
|
|||||||
"NTProvider": {
|
"NTProvider": {
|
||||||
"types": {
|
"types": {
|
||||||
"/FMSInfo": "FMSInfo",
|
"/FMSInfo": "FMSInfo",
|
||||||
"/LiveWindow/Ungrouped/Scheduler": "Scheduler"
|
"/LiveWindow/BasePilotable": "Subsystem",
|
||||||
|
"/LiveWindow/Ungrouped/MecanumDrive[1]": "MecanumDrive",
|
||||||
|
"/LiveWindow/Ungrouped/Scheduler": "Scheduler",
|
||||||
|
"/LiveWindow/Ungrouped/navX-Sensor[4]": "Gyro"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,6 +6,7 @@ package frc.robot.subsystems;
|
|||||||
|
|
||||||
import edu.wpi.first.wpilibj.DoubleSolenoid;
|
import edu.wpi.first.wpilibj.DoubleSolenoid;
|
||||||
import edu.wpi.first.wpilibj.PneumaticsModuleType;
|
import edu.wpi.first.wpilibj.PneumaticsModuleType;
|
||||||
|
import edu.wpi.first.wpilibj.DoubleSolenoid.Value;
|
||||||
import edu.wpi.first.wpilibj2.command.SubsystemBase;
|
import edu.wpi.first.wpilibj2.command.SubsystemBase;
|
||||||
import frc.robot.Constants;
|
import frc.robot.Constants;
|
||||||
|
|
||||||
@ -19,16 +20,16 @@ public class Poussoir extends SubsystemBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void pousser(){
|
public void pousser(){
|
||||||
|
pousser.set(Value.kForward);
|
||||||
}
|
}
|
||||||
public void bloquer(){
|
public void bloquer(){
|
||||||
|
bloqueur.set(Value.kForward);
|
||||||
}
|
}
|
||||||
public void debloque(){
|
public void debloque(){
|
||||||
|
bloqueur.set(Value.kReverse);
|
||||||
}
|
}
|
||||||
public void tirer(){
|
public void tirer(){
|
||||||
|
pousser.set(Value.kReverse);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user