dashboard pas

This commit is contained in:
samuel desharnais 2025-02-27 18:26:10 -05:00
parent 04ba179373
commit c8e94563ad

View File

@ -4,8 +4,6 @@
package frc.robot.commands;
import java.util.function.DoubleSupplier;
import edu.wpi.first.networktables.DoubleSubscriber;
import edu.wpi.first.networktables.NetworkTable;
import edu.wpi.first.networktables.NetworkTableInstance;
@ -18,6 +16,7 @@ import frc.robot.subsystems.Pince;
public class L2 extends Command {
private Elevateur elevateur;
private Pince pince;
NetworkTableInstance networktable = NetworkTableInstance.getDefault();
NetworkTable tabelevateur = networktable.getTable("tabelevateur");
private DoubleSubscriber encodeur1 = tabelevateur.getDoubleTopic("encodeurelevateurbasL2").subscribe(-1);