Ids des moteurs et des aurtes chose

This commit is contained in:
samuel desharnais
2026-03-10 17:56:51 -04:00
parent 11f6bae2e5
commit 9fd713ba18
4 changed files with 11 additions and 11 deletions

View File

@@ -14,9 +14,9 @@ import edu.wpi.first.wpilibj2.command.SubsystemBase;
public class Lanceur extends SubsystemBase {
ShuffleboardTab teb = Shuffleboard.getTab("teb");
SparkFlex moteur1 = new SparkFlex(2, MotorType.kBrushless);
SparkFlex moteur2 = new SparkFlex(3, MotorType.kBrushless);
SparkFlex Demeleur = new SparkFlex(4, MotorType.kBrushless);
SparkFlex moteur1 = new SparkFlex(15, MotorType.kBrushless);
SparkFlex moteur2 = new SparkFlex(18, MotorType.kBrushless);
SparkFlex Demeleur = new SparkFlex(19, MotorType.kBrushless);
GenericEntry vitesse =
teb.add("vitesse lanceur",100).getEntry();
GenericEntry AmpLanceur =