Skip to content

Commit 0811b72

Browse files
committed
remove jogs
1 parent 809f564 commit 0811b72

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

src/main/java/frc/robot/Robot.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,11 @@ else if (m_robotContainer.wasScoringCoral()) {
101101
} else {
102102
m_robotContainer.stow();
103103
}
104-
104+
105105
m_robotContainer.setIsAuto(false);
106106
m_robotContainer.setIsAutoPlacing(true);
107107
m_robotContainer.setScoringSide(ScoreSide.LEFT);
108108
m_robotContainer.disableNoMotionCal();
109-
110109
}
111110

112111
@Override

src/main/java/frc/robot/RobotContainer.java

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -424,30 +424,6 @@ private void configureOperatorBindings() {
424424
.onTrue(
425425
new ClimbPrepCommand(
426426
robotStateSubsystem, climbSubsystem, elevatorSubsystem, biscuitSubsystem));
427-
428-
// Move biscuit
429-
new Trigger((() -> xboxController.getRightY() < -RobotConstants.kTestingDeadband))
430-
.onTrue(
431-
new JogBiscuitCommand(
432-
biscuitSubsystem, Angle.ofBaseUnits(BiscuitConstants.kJogAmountUp, Rotations)))
433-
.onFalse(new HoldBiscuitCommand(biscuitSubsystem));
434-
new Trigger((() -> xboxController.getRightY() > RobotConstants.kTestingDeadband))
435-
.onTrue(
436-
new JogBiscuitCommand(
437-
biscuitSubsystem, Angle.ofBaseUnits(BiscuitConstants.kJogAmountDown, Rotations)))
438-
.onFalse(new HoldBiscuitCommand(biscuitSubsystem));
439-
440-
// Move elevator
441-
new Trigger((() -> xboxController.getLeftY() < -RobotConstants.kTestingDeadband))
442-
.onTrue(
443-
new JogElevatorCommand(
444-
elevatorSubsystem, Angle.ofBaseUnits(ElevatorConstants.kJogAmountUp, Rotations)))
445-
.onFalse(new HoldElevatorCommand(elevatorSubsystem));
446-
new Trigger((() -> xboxController.getLeftY() > RobotConstants.kTestingDeadband))
447-
.onTrue(
448-
new JogElevatorCommand(
449-
elevatorSubsystem, Angle.ofBaseUnits(ElevatorConstants.kJogAmountDown, Rotations)))
450-
.onFalse(new HoldElevatorCommand(elevatorSubsystem));
451427
}
452428

453429
private void configureTestOperatorBindings() {

0 commit comments

Comments
 (0)