mode auto

This commit is contained in:
EdwardFaucher 2024-11-18 18:48:33 -05:00
parent 0735fdb41a
commit 448b92e8ab

View File

@ -44,6 +44,9 @@ public class RobotContainer {
drive.setDefaultCommand(new RunCommand(()->{
drive.drive(-MathUtil.applyDeadband(manette.getRightX(),0.2), MathUtil.applyDeadband(-manette.getRightY(),0.2), MathUtil.applyDeadband(-manette.getRightX(), 0.2));
},drive));
dashboard.add("autochooser",autoChooser)
.withSize(1,1)
.withPosition(2,2);
}
private void configureBindings() {