mode auto leds mieux
This commit is contained in:
parent
c0c48a3f24
commit
8bc8f0390f
@ -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
|
||||
)
|
||||
);
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user