BarrelPath

Co-Authored-By: Nirvan Bhalala <78400306+nbhalala27@users.noreply.github.com>
This commit is contained in:
Aarav Shah
2021-03-25 16:46:35 -06:00
parent ab1a8a7564
commit b7465a0029
6 changed files with 11 additions and 13 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -317,13 +317,13 @@ public class RobotContainer {
m_slalom = new Slalom(m_robotDrive, buildPaths(slalom));
String[] barrel = new String[]{
"Barrel"
"BarrelStart"
};
m_barrel = new Barrel(m_robotDrive, buildPaths(barrel));
String[] barrelStart = new String[]{
"BarrelStart"
"Barrel"
};
m_barrelStart = new BarrelStart(m_robotDrive, buildPaths(barrelStart));
@@ -26,9 +26,8 @@ public class BarrelStart extends SequentialCommandGroup {
// super(new FooCommand(), new BarCommand());
addCommands(
paths[0],
new Wait(drive, 0.01, 1),
new TankDriveVelocity(drive, 3, 3, 1)
//new InstantCommand(() -> drive.tankDriveVelocity(7, 7)).withTimeout(7) //my life be like oooooo aaaaaa ooooo aaaa
//new Wait(drive, 0.01, 1),
new TankDriveVelocity(drive, 3, 3, 1) //my life be like oooooo aaaaaa ooooo aaaa
);
}