Skip to content

Commit

Permalink
clean up TaxiAuto comments
Browse files Browse the repository at this point in the history
  • Loading branch information
willitcode committed Feb 13, 2024
1 parent 067744a commit 4517db6
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/main/java/frc/robot/commands/auto/TaxiAuto.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,16 @@
import edu.wpi.first.wpilibj2.command.WaitCommand;
import frc.robot.Constants;

// NOTE: Consider using this command inline, rather than writing a subclass. For more
// information, see:
// https://docs.wpilib.org/en/stable/docs/software/commandbased/convenience-features.html
/**
* Auto that just taxis (or more accurately, moves us out of the auto starting box. Taxi time and
* velocity can be tuned in Constants.Drive.
*/
public class TaxiAuto extends ParallelDeadlineGroup {
/** Creates a new TaxiAuto. */
public TaxiAuto() {
// Add the deadline command in the super() call. Add other commands using
// addCommands().
super(
new WaitCommand(Constants.Drive.TAXI_AUTO_DURATION_SECONDS),
super(new WaitCommand(Constants.Drive.TAXI_AUTO_DURATION_SECONDS));
addCommands(
new DriveAutoRobotOriented(
new Translation2d(0, Constants.Drive.TAXI_AUTO_METERS_PER_SECOND), 0));
// addCommands(new FooCommand(), new BarCommand());
}
}

0 comments on commit 4517db6

Please sign in to comment.