Minor modification to CS11 to add some additional horn controls in teleop

This commit is contained in:
Bradley Bickford 2024-05-20 20:01:45 -04:00
parent 5c8d9a1c91
commit d3b8be3072

View File

@ -34,6 +34,10 @@ public class RobotContainer {
);
horn.setDefaultCommand(horn.stop());
driver.a().whileTrue(horn.blastHorn());
driver.b().onTrue(horn.threeBlasts(1, 1));
driver.x().onTrue(horn.threeBlasts(3, 1));
}
public Command getAutonomousCommand() {