Compare commits
8 Commits
Swerve
...
8bc8f0390f
Author | SHA1 | Date | |
---|---|---|---|
8bc8f0390f | |||
c0c48a3f24 | |||
cbeb99c1a5 | |||
6fb4e0c1ac | |||
9af46de189 | |||
688315bcd0 | |||
bd180e9153 | |||
bff426ef0f |
@ -21,6 +21,7 @@ import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
|
|||||||
import edu.wpi.first.wpilibj2.command.Command;
|
import edu.wpi.first.wpilibj2.command.Command;
|
||||||
import edu.wpi.first.wpilibj2.command.Commands;
|
import edu.wpi.first.wpilibj2.command.Commands;
|
||||||
import edu.wpi.first.wpilibj2.command.ParallelCommandGroup;
|
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.button.CommandXboxController;
|
||||||
import edu.wpi.first.wpilibj2.command.sysid.SysIdRoutine.Direction;
|
import edu.wpi.first.wpilibj2.command.sysid.SysIdRoutine.Direction;
|
||||||
|
|
||||||
@ -80,14 +81,14 @@ public class RobotContainer {
|
|||||||
public Command getAutonomousCommand() {
|
public Command getAutonomousCommand() {
|
||||||
return
|
return
|
||||||
new
|
new
|
||||||
ParallelCommandGroup(
|
SequentialCommandGroup(
|
||||||
autoChooser
|
autoChooser
|
||||||
.getSelected(),
|
.getSelected().andThen(
|
||||||
new
|
new
|
||||||
RainBow
|
RainBow
|
||||||
(
|
(
|
||||||
bougie
|
bougie
|
||||||
)
|
)
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user