a
This commit is contained in:
parent
b46e1a57eb
commit
1534e319fc
@ -13,12 +13,13 @@ import frc.robot.Constants;
|
|||||||
public class Accumulateur extends SubsystemBase {
|
public class Accumulateur extends SubsystemBase {
|
||||||
/** Creates a new Accumulateur. */
|
/** Creates a new Accumulateur. */
|
||||||
public Accumulateur() {}
|
public Accumulateur() {}
|
||||||
|
|
||||||
final WPI_TalonSRX Moteuracc2 = new WPI_TalonSRX(Constants.Moteuracc2);
|
final WPI_TalonSRX Moteuracc2 = new WPI_TalonSRX(Constants.Moteuracc2);
|
||||||
final WPI_TalonSRX Moteuracc = new WPI_TalonSRX(Constants.Moteuracc);
|
final WPI_TalonSRX Moteuracc = new WPI_TalonSRX(Constants.Moteuracc);
|
||||||
final DigitalInput limitacc = new DigitalInput(0);
|
final DigitalInput limitacc = new DigitalInput(0);
|
||||||
|
|
||||||
public void Deaccumuler(double vitesse){Moteuracc2.set(vitesse);}
|
public void Deaccumuler(double vitesse){
|
||||||
|
Moteuracc2.set(vitesse);}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user