g
This commit is contained in:
parent
6208839355
commit
c8ed4a3ff2
@ -29,7 +29,10 @@ public class BrasTelescopique extends SubsystemBase {
|
||||
.withSize(2, 2);
|
||||
|
||||
/** Creates a new BrasTelescopique. */
|
||||
public BrasTelescopique() {}
|
||||
public BrasTelescopique() {
|
||||
teb .add("photocell",0.1);
|
||||
teb .add("winch",0.1);
|
||||
bras.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);
|
||||
@ -53,8 +56,6 @@ public class BrasTelescopique extends SubsystemBase {
|
||||
}
|
||||
@Override
|
||||
public void periodic() {
|
||||
teb .add("photocell",0.1);
|
||||
teb .add("winch",0.1);
|
||||
bras.add ("encodeur",0.1);
|
||||
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user