mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 00:38:00 -06:00
Almost finished 6 ball auto, just a little too wide
This commit is contained in:
@@ -259,9 +259,13 @@ public class RobotContainer {
|
||||
//RamseteCommand ramseteCommand = getRamseteCommand(trajectory);
|
||||
|
||||
// Run path following command, then stop at the end.
|
||||
return m_sixBallAutoMiddle.andThen(() -> m_robotDrive.tankDriveVelocity(0, 0));
|
||||
try {
|
||||
return m_sixBallAutoMiddle.andThen(() -> m_robotDrive.tankDriveVelocity(0, 0));
|
||||
} catch (Exception e) {
|
||||
System.err.println("ERROR");
|
||||
}
|
||||
|
||||
//return new InstantCommand();
|
||||
return new InstantCommand();
|
||||
}
|
||||
TrajectoryConfig getTrajectoryConfig() {
|
||||
return new TrajectoryConfig(
|
||||
|
||||
Reference in New Issue
Block a user