Skip to content

Commit

Permalink
Invert sim values for houndbrain
Browse files Browse the repository at this point in the history
  • Loading branch information
superpenguin612 committed Mar 8, 2024
1 parent 51f2141 commit 467e89d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/frc/robot/HoundBrian.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,18 @@ public HoundBrian(Drivetrain drivetrain, Intake intake, ShooterTilt shooterTilt,
// .toggleOnTrue(noteLift.coastMotorsCommand());

if (RobotBase.isSimulation()) {
drivetrainButtonSim.setValue(false);
intakeButtonSim.setValue(false);
shooterTiltButtonSim.setValue(false);
climberButtonSim.setValue(false);
noteLiftButtonSim.setValue(false);
actionButtonSim.setValue(false);
actionButton2Sim.setValue(false);
drivetrainButtonSim.setValue(true);
intakeButtonSim.setValue(true);
shooterTiltButtonSim.setValue(true);
climberButtonSim.setValue(true);
noteLiftButtonSim.setValue(true);
actionButtonSim.setValue(true);
actionButton2Sim.setValue(true);
}
}

public Command simTriggerIntakeButton() {
return Commands.startEnd(() -> intakeButtonSim.setValue(true), () -> intakeButtonSim.setValue(false))
return Commands.startEnd(() -> intakeButtonSim.setValue(false), () -> intakeButtonSim.setValue(true))
.ignoringDisable(true);
}

Expand Down

0 comments on commit 467e89d

Please sign in to comment.