This commit is contained in:
samuel desharnais 2024-01-23 19:59:47 -05:00
commit 3fde203553

View File

@ -16,14 +16,8 @@ public class Balayeuse extends SubsystemBase {
public Balayeuse() {}
final WPI_TalonSRX roue = new WPI_TalonSRX(Constants.roue);
final TalonSRX etoile = new TalonSRX(Constants.etoile);
public void Accumulation(double vitesse){
roue.set(vitesse);
}
public void balayeuse(){
etoile.follow(roue);
etoile.setInverted(true);
}
public void Accumulation(double vitesse){roue.set(vitesse);}
public void balayeuse(){etoile.follow(roue); etoile.setInverted(true);}
@Override
public void periodic() {
// This method will be called once per scheduler run