This commit is contained in:
samuel desharnais 2024-03-27 18:22:56 -04:00
parent 891f714f44
commit e8febd6268

View File

@ -98,7 +98,7 @@ public class RobotContainer {
// deplacement
configureBindings();
drive.setDefaultCommand(new RunCommand(()->{
drive.drive(MathUtil.applyDeadband(joystick.getY(),0.2), MathUtil.applyDeadband(joystick.getX(),0.2), MathUtil.applyDeadband(joystick.getZ(), 0.35));
drive.drive(MathUtil.applyDeadband(manette1.getLeftY(),0.2), MathUtil.applyDeadband(manette1.getLeftX(),0.2), MathUtil.applyDeadband(manette1.getRightX(),.35));
},drive));
// grimpeur manuel