Tried fixing Path sequencing Issue

Never got to test, problem with robot not enabling.
This commit is contained in:
ryan123rudder
2021-02-10 17:44:09 -07:00
parent 12b6f19be4
commit c5a34f3708
3 changed files with 9 additions and 9 deletions
@@ -360,8 +360,7 @@ public class RobotContainer {
// return m_tenBallAutoMiddle.andThen(()-> m_robotDrive.tankDriveVelocity(0, 0));
return new SequentialCommandGroup(
m_sixBallAuto0,
new InstantCommand(() -> resetOdometry(new Pose2d())),
//new Wait(m_robotDrive, 0.5, 0),
new InstantCommand(() -> resetOdometry(new Pose2d(0, 0, new Rotation2d()))),
m_sixBallAuto1
// /**new ParallelRaceGroup(
// m_sixBallAuto0,