fixed weird array dimension error

Co-Authored-By: Nirvan Bhalala <78400306+nbhalala27@users.noreply.github.com>
This commit is contained in:
Aarav Shah
2021-03-01 17:42:23 -07:00
parent cd89f290cc
commit a2c590e7fe
2 changed files with 4 additions and 4 deletions
@@ -384,9 +384,9 @@ public class RobotContainer {
//return m_fiveBallAutoMiddle.andThen(() -> m_robotDrive.tankDriveVelocity(0, 0));
//return m_tenBallAutoMiddle.andThen(()-> m_robotDrive.tankDriveVelocity(0, 0));
//return m_slalom.andThen(()-> m_robotDrive.tankDriveVelocity(0, 0));
//return m_barrel.andThen(()-> m_robotDrive.tankDriveVelocity(0, 0));
return m_barrel.andThen(()-> m_robotDrive.tankDriveVelocity(0, 0));
//return m_barrelMany.andThen(()-> m_robotDrive.tankDriveVelocity(0, 0));
return m_sequentialTesting.andThen(()-> m_robotDrive.tankDriveVelocity(0, 0));
//return m_sequentialTesting.andThen(()-> m_robotDrive.tankDriveVelocity(0, 0));
} catch (Exception e) {
System.err.println("ERROR");
@@ -23,8 +23,8 @@ public class SequentialTesting extends SequentialCommandGroup {
// super(new FooCommand(), new BarCommand());
addCommands(
paths[0],
new Wait(drive, 1, 1),
paths[1]
new Wait(drive, 1, 1)
//paths[1]
);
}
}