mode auto leds mieux
This commit is contained in:
		| @@ -21,6 +21,7 @@ import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; | ||||
| import edu.wpi.first.wpilibj2.command.Command; | ||||
| import edu.wpi.first.wpilibj2.command.Commands; | ||||
| import edu.wpi.first.wpilibj2.command.ParallelCommandGroup; | ||||
| import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; | ||||
| import edu.wpi.first.wpilibj2.command.button.CommandXboxController; | ||||
| import edu.wpi.first.wpilibj2.command.sysid.SysIdRoutine.Direction; | ||||
|  | ||||
| @@ -80,14 +81,14 @@ public class RobotContainer { | ||||
|         public Command getAutonomousCommand() { | ||||
|             return  | ||||
|              new  | ||||
|             ParallelCommandGroup( | ||||
|             SequentialCommandGroup( | ||||
|               autoChooser | ||||
|                      .getSelected(), | ||||
|                      .getSelected().andThen( | ||||
|             new  | ||||
|             RainBow | ||||
|             ( | ||||
|                 bougie | ||||
|                 ) | ||||
|             ); | ||||
|             )); | ||||
|          } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user