led
This commit is contained in:
@@ -62,8 +62,9 @@ public class RobotContainer {
|
||||
autoChooser = AutoBuilder.buildAutoChooser();
|
||||
|
||||
CameraServer.startAutomaticCapture();
|
||||
manette.a().onTrue(guiderBas);
|
||||
manette.b().onTrue(guiderHaut);
|
||||
manette.a().whileTrue(guiderBas);
|
||||
manette.b().whileTrue(guiderHaut);
|
||||
joystick.button(3).toggleOnTrue(balayer);
|
||||
configureBindings();
|
||||
drive.setDefaultCommand(new RunCommand(()->{
|
||||
drive.drive(-MathUtil.applyDeadband(joystick.getY(),0.2), MathUtil.applyDeadband(-joystick.getX(),0.2), MathUtil.applyDeadband(-joystick.getZ(), 0.2));
|
||||
@@ -73,8 +74,6 @@ public class RobotContainer {
|
||||
|
||||
private void configureBindings() {
|
||||
|
||||
joystick.button(3).toggleOnTrue(balayer);
|
||||
|
||||
}
|
||||
|
||||
public Command getAutonomousCommand(){
|
||||
|
Reference in New Issue
Block a user