From 63cb92107e1f5e321a30e6ec9570de72eb90360d Mon Sep 17 00:00:00 2001 From: OlivierDubois Date: Thu, 8 Feb 2024 19:10:04 -0500 Subject: [PATCH] changements --- src/main/java/frc/robot/RobotContainer.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 976157f..d4ba942 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -13,6 +13,7 @@ import edu.wpi.first.math.MathUtil; import edu.wpi.first.wpilibj.shuffleboard.Shuffleboard; import edu.wpi.first.wpilibj.shuffleboard.ShuffleboardTab; import edu.wpi.first.wpilibj.smartdashboard.SendableChooser; +import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import edu.wpi.first.wpilibj2.command.Command; import edu.wpi.first.wpilibj2.command.ParallelCommandGroup; import edu.wpi.first.wpilibj2.command.RunCommand; @@ -97,7 +98,7 @@ public class RobotContainer { grimpeur.droit(manette.getLeftX());} ,grimpeur)); LED.setDefaultCommand(allumeLED); - + SmartDashboard.putData("autochooser",autoChooser); } private void configureBindings() { @@ -105,7 +106,7 @@ public class RobotContainer { } public Command getAutonomousCommand(){ - return autoChooser.getSelected() - ; + return autoChooser.getSelected(); + } }