-z joystick
This commit is contained in:
parent
1dc4b31f4f
commit
84f48cdbb8
@ -22,7 +22,7 @@ public class RobotContainer {
|
||||
// drive.drive(manette.getLeftX(), manette.getLeftY(), manette.getRightX());
|
||||
//},drive));
|
||||
drive.setDefaultCommand(new RunCommand(()->{
|
||||
drive.drive(joystick1.getX(), -joystick1.getY(), joystick1.getZ());
|
||||
drive.drive(joystick1.getX(), -joystick1.getY(), -joystick1.getZ());
|
||||
},drive));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user