mode auto
This commit is contained in:
parent
0735fdb41a
commit
448b92e8ab
@ -44,6 +44,9 @@ public class RobotContainer {
|
|||||||
drive.setDefaultCommand(new RunCommand(()->{
|
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.drive(-MathUtil.applyDeadband(manette.getRightX(),0.2), MathUtil.applyDeadband(-manette.getRightY(),0.2), MathUtil.applyDeadband(-manette.getRightX(), 0.2));
|
||||||
},drive));
|
},drive));
|
||||||
|
dashboard.add("autochooser",autoChooser)
|
||||||
|
.withSize(1,1)
|
||||||
|
.withPosition(2,2);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void configureBindings() {
|
private void configureBindings() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user