diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index d4ba942..f2b68f4 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -98,7 +98,9 @@ public class RobotContainer { grimpeur.droit(manette.getLeftX());} ,grimpeur)); LED.setDefaultCommand(allumeLED); - SmartDashboard.putData("autochooser",autoChooser); + dashboard.add("autochooser",autoChooser) + .withSize(2,1) + .withPosition(1,1); } private void configureBindings() { diff --git a/src/main/java/frc/robot/subsystem/Grimpeur.java b/src/main/java/frc/robot/subsystem/Grimpeur.java index 0f6f014..293bdec 100644 --- a/src/main/java/frc/robot/subsystem/Grimpeur.java +++ b/src/main/java/frc/robot/subsystem/Grimpeur.java @@ -29,7 +29,7 @@ public class Grimpeur extends SubsystemBase { ShuffleboardLayout layout = Shuffleboard.getTab("dashboard") .getLayout("grimpeur", BuiltInLayouts.kList) .withSize(2,4) - .withPosition(1,1); + .withPosition(2,1); final CANSparkMax grimpeurd = new CANSparkMax(Constants.grimpeurd,MotorType.kBrushless); final CANSparkMax grimpeurg = new CANSparkMax(Constants.grimpeurg,MotorType.kBrushless); // limit switch