off the line and shooter data

This commit is contained in:
Aarav Shah
2021-09-25 07:41:23 -06:00
parent 64594ef137
commit fbd074cf33
3 changed files with 21 additions and 19 deletions
@@ -518,7 +518,7 @@ public class RobotContainer {
//At Home Challenges Autos
//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_barrelStart.andThen(()-> m_robotDrive.tankDriveVelocity(0, 0));
//return m_sequentialTest.andThen(() -> m_robotDrive.tankDriveVelocity(0,0));
//return m_galacticSearch.andThen(() -> m_robotDrive.tankDriveVelocity(0,0));
@@ -527,7 +527,7 @@ public class RobotContainer {
//return m_sixBallTop.andThen(() -> m_robotDrive.tankDriveVelocity(0,0));
//return m_eightBallMid.andThen(() -> m_robotDrive.tankDriveVelocity(0,0));
//return m_fiveBallBottom.andThen(() -> m_robotDrive.tankDriveVelocity(0,0));
//return m_offTheLine.andThen(() -> m_robotDrive.tankDriveVelocity(0,0));
return m_offTheLine.andThen(() -> m_robotDrive.tankDriveVelocity(0,0));
/*
@@ -30,14 +30,16 @@ public class OffTheLine extends SequentialCommandGroup {
// Add your commands in the super() call, e.g.
// super(new FooCommand(), new BarCommand());
addCommands(
paths[0],
paths[0]
//Shoot???
/*
new ParallelDeadlineGroup(
new Wait(drive,5),
new TrackTarget(shooterAim),
new RunCommand(() -> shooterHood.runAngleAdjustPID(shooterHood.addFireAngle()))
)
)*/
);
}
}