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() {}
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user