mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 08:48:01 -06:00
Tried Fixing Auto Issue
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -169,8 +169,8 @@ public class RobotContainer {
|
||||
// continually sends updates to the Blinkin LED controller to keep the lights on
|
||||
m_robotLED.setDefaultCommand(new RunCommand(() -> m_robotLED.updateLED(), m_robotLED));
|
||||
// runs the storage not
|
||||
//m_robotStorage.setDefaultCommand(new RunCommand(() -> m_robotStorage.runStorage(0), m_robotStorage));
|
||||
m_robotStorage.setDefaultCommand(new ManageStorage(m_robotStorage, StorageMode.IDLE));
|
||||
m_robotStorage.setDefaultCommand(new RunCommand(() -> m_robotStorage.runStorage(0), m_robotStorage));
|
||||
//m_robotStorage.setDefaultCommand(new ManageStorage(m_robotStorage, StorageMode.IDLE));
|
||||
//m_robotLime.setDefaultCommand(new RunCommand(() -> m_robotLime.limeOff(), m_robotLime));
|
||||
}
|
||||
|
||||
@@ -359,7 +359,13 @@ public class RobotContainer {
|
||||
//return m_driveOffLineBackward.andThen(() -> m_robotDrive.tankDriveVelocity(0, 0));
|
||||
//return m_fiveBallAutoMiddle.andThen(() -> m_robotDrive.tankDriveVelocity(0, 0));
|
||||
//return m_tenBallAutoMiddle.andThen(()-> m_robotDrive.tankDriveVelocity(0, 0));
|
||||
return new ParallelRaceGroup(m_sixBallAutoMiddle, new RunIntake(m_robotIntake));//, new RunCommand(() -> m_robotStorage.runStorage(1), m_robotStorage));
|
||||
return new SequentialCommandGroup(
|
||||
m_sixBallAuto0,
|
||||
m_sixBallAuto1
|
||||
/**new ParallelRaceGroup(
|
||||
m_sixBallAuto0,
|
||||
new RunIntake(m_robotIntake)
|
||||
)**/); //ParallelRaceGroup(m_sixBallAuto0, new RunIntake(m_robotIntake));
|
||||
} catch (Exception e) {
|
||||
System.err.println("ERROR");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user