Compare commits

...

2 Commits

Author SHA1 Message Date
samuel desharnais
d3f7d01246 Merge branch 'main' of https://git.demerso.net/PLS5618/pratique-2025 2024-11-13 18:47:12 -05:00
samuel desharnais
125ad2c417 2024-11-13 18:47:11 -05:00

View File

@ -25,8 +25,9 @@ public class Lanceur extends SubsystemBase {
final WPI_TalonSRX lanceur1 = new WPI_TalonSRX(0); final WPI_TalonSRX lanceur1 = new WPI_TalonSRX(0);
final WPI_TalonSRX lanceur2 = new WPI_TalonSRX(1); final WPI_TalonSRX lanceur2 = new WPI_TalonSRX(1);
final CANSparkMax tourelle = new CANSparkMax(2, MotorType.kBrushed); final CANSparkMax tourelle = new CANSparkMax(2, MotorType.kBrushed);
final
private GenericEntry vitesse = private GenericEntry vitesse =
dashboard.add("vitesselanceur", 0.2) dashboard.add("vitesselanceur", 0.2)
.withSize(0,0) .withSize(0,0)
.withPosition(1, 4) .withPosition(1, 4)
.getEntry(); .getEntry();