This commit is contained in:
Antoine PerreaultE 2023-12-04 19:47:55 -05:00
commit 838eab55e6

View File

@ -18,14 +18,14 @@ public class Lanceur extends SubsystemBase {
ShuffleboardTab dash2 = Shuffleboard.getTab("Dashboard2.0"); ShuffleboardTab dash2 = Shuffleboard.getTab("Dashboard2.0");
ShuffleboardTab dashboard = Shuffleboard.getTab("Dashboard"); ShuffleboardTab dashboard = Shuffleboard.getTab("Dashboard");
ShuffleboardLayout pid = Shuffleboard.getTab("Dashboard") //ShuffleboardLayout pid = Shuffleboard.getTab("Dashboard")
.getLayout("Pid", BuiltInLayouts.kList) //.getLayout("Pid", BuiltInLayouts.kList)
.withSize(3, 7); //.withSize(3, 7);
public Lanceur(){ public Lanceur(){
dash2.add("test", 1); dash2.add("test", 1);
pid.add("p", 1); dashboard.add("p", 1);
pid.add("i", 2); dashboard.add("i", 2);
pid.add("d", 3); dashboard.add("d", 3);
} }
final CANSparkMax lanceur = new CANSparkMax(Constants.lanceur, MotorType.kBrushless); final CANSparkMax lanceur = new CANSparkMax(Constants.lanceur, MotorType.kBrushless);