This commit is contained in:
Antoine PerreaultE 2025-02-22 11:41:37 -05:00
parent bb9d5a5550
commit 1f4111ef6d

View File

@ -13,10 +13,10 @@ import edu.wpi.first.wpilibj2.command.SubsystemBase;
public class Pince extends SubsystemBase {
/** Creates a new Pince. */
public Pince() {}
final SparkMax coral = new SparkMax(1, MotorType.kBrushless);
final SparkMax pivoti = new SparkMax(2, MotorType.kBrushless);
final SparkMax algue1 = new SparkMax(4, MotorType.kBrushless);
final SparkMax algue2 = new SparkMax(5, MotorType.kBrushless);
final SparkMax coral = new SparkMax(20, MotorType.kBrushless);
final SparkMax pivoti = new SparkMax(14, MotorType.kBrushless);
final SparkMax algue1 = new SparkMax(16, MotorType.kBrushless);
final SparkMax algue2 = new SparkMax(19, MotorType.kBrushless);
final DigitalInput limit6 = new DigitalInput(2);
public void aspirecoral(double vitesse){
coral.set(vitesse);