changements
This commit is contained in:
		| @@ -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(); | ||||
|      | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user