Minor modification to CS11 to add some additional horn controls in teleop
This commit is contained in:
parent
5c8d9a1c91
commit
d3b8be3072
@ -34,6 +34,10 @@ public class RobotContainer {
|
|||||||
);
|
);
|
||||||
|
|
||||||
horn.setDefaultCommand(horn.stop());
|
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() {
|
public Command getAutonomousCommand() {
|
||||||
|
Loading…
Reference in New Issue
Block a user