Minor modification to CS11 to add some additional horn controls in teleop
This commit is contained in:
1 parent
5c8d9a1c91
commit
d3b8be3072
1 file changed
+4
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user