This commit is contained in:
Olivier Dubois 2023-03-08 18:17:44 -05:00
parent c40c338976
commit 3d2364b548

View File

@ -23,7 +23,7 @@ public class BrasTelescopique extends SubsystemBase {
public BrasTelescopique() {
teb .add("photocell",0.1);
teb .add("winch",0.1);
teb .add ("encodeur",0.1);}
teb .add("encodeur",0.1);}
final CANSparkMax Winch = new CANSparkMax(Constants.BrasTelescopique,MotorType.kBrushless);
private DigitalInput photocell = new DigitalInput(Constants.photocell);
private DoubleSolenoid brakewinch = new DoubleSolenoid(PneumaticsModuleType.CTREPCM,Constants.brakewinchf, Constants.brakewinchb);