Merge branch 'main' of https://git.demerso.net/pls5618/2024/robot
This commit is contained in:
commit
3fde203553
@ -16,14 +16,8 @@ public class Balayeuse extends SubsystemBase {
|
|||||||
public Balayeuse() {}
|
public Balayeuse() {}
|
||||||
final WPI_TalonSRX roue = new WPI_TalonSRX(Constants.roue);
|
final WPI_TalonSRX roue = new WPI_TalonSRX(Constants.roue);
|
||||||
final TalonSRX etoile = new TalonSRX(Constants.etoile);
|
final TalonSRX etoile = new TalonSRX(Constants.etoile);
|
||||||
|
public void Accumulation(double vitesse){roue.set(vitesse);}
|
||||||
public void Accumulation(double vitesse){
|
public void balayeuse(){etoile.follow(roue); etoile.setInverted(true);}
|
||||||
roue.set(vitesse);
|
|
||||||
}
|
|
||||||
public void balayeuse(){
|
|
||||||
etoile.follow(roue);
|
|
||||||
etoile.setInverted(true);
|
|
||||||
}
|
|
||||||
@Override
|
@Override
|
||||||
public void periodic() {
|
public void periodic() {
|
||||||
// This method will be called once per scheduler run
|
// This method will be called once per scheduler run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user