Skip to content

Commit

Permalink
changed while true to repeat command
Browse files Browse the repository at this point in the history
  • Loading branch information
Advay17 committed Oct 6, 2024
1 parent 8023c80 commit d0ef20e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@

import edu.wpi.first.wpilibj.XboxController;
import frc.robot.commands.DriveCommands;
import frc.robot.commands.ServoCommands;
import frc.robot.subsystems.Servo;
import frc.robot.subsystems.XRPDrivetrain;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.RepeatCommand;
import edu.wpi.first.wpilibj2.command.button.CommandXboxController;
import edu.wpi.first.wpilibj2.command.button.Trigger;

Expand Down Expand Up @@ -48,8 +50,8 @@ public RobotContainer() {
private void configureButtonBindings() {
//TODO: Task 7-Uncomment the lines below and replace the null values with the commands you created to move the servo up and down, such that the y button moves it up
//and the a button moves it down.
// m_controller.y().whileTrue(null);
// m_controller.a().whileTrue(null);
// m_controller.y().whileTrue(new RepeatCommand(null));
// m_controller.a().whileTrue(new RepeatCommand(null));
}

/**
Expand Down

0 comments on commit d0ef20e

Please sign in to comment.