mode auto unutile
This commit is contained in:
		| @@ -163,7 +163,7 @@ public class RobotContainer { | ||||
|        .withVelocityY(0) | ||||
|        .withRotationalRate(0)).unless(()->!ReculerR.getBoolean(true)).withTimeout(3.5), | ||||
|        drivetrain.applyRequest(()-> | ||||
|        drive.withVelocityX(0.1*MaxSpeed) | ||||
|        drive.withVelocityX(-0.1*MaxSpeed) | ||||
|       .withVelocityY(0) | ||||
|       .withRotationalRate(0)).unless(()->!ReculerB.getBoolean(true)).withTimeout(3.5), | ||||
|         drivetrain.applyRequest(()-> | ||||
| @@ -173,7 +173,11 @@ public class RobotContainer { | ||||
|      drivetrain.applyRequest(()-> | ||||
|      drive.withVelocityX(-0.1*MaxSpeed) | ||||
|     .withVelocityY(0) | ||||
|     .withRotationalRate(0)).unless(()->!sortirAngle.getBoolean(true)).withTimeout(3), | ||||
|     .withRotationalRate(0)).unless(()->!sortirAngle.getBoolean(true)|| !ReculerR.getBoolean(true)).withTimeout(3), | ||||
|     drivetrain.applyRequest(()-> | ||||
|     drive.withVelocityX(0.1*MaxSpeed) | ||||
|    .withVelocityY(0) | ||||
|    .withRotationalRate(0)).unless(()->!sortirAngle.getBoolean(true)|| !ReculerB.getBoolean(true)).withTimeout(3), | ||||
|        drivetrain.applyRequest(()-> | ||||
|         drive.withVelocityX(0) | ||||
|        .withVelocityY(0) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user