mode auto L4
This commit is contained in:
		| @@ -174,15 +174,10 @@ public class RobotContainer { | |||||||
|        .withVelocityY(0) |        .withVelocityY(0) | ||||||
|        .withRotationalRate(0)).withTimeout(0.1), |        .withRotationalRate(0)).withTimeout(0.1), | ||||||
|         new L4(elevateur, pince).unless(()->!L4.getBoolean(true)).withTimeout(4), |         new L4(elevateur, pince).unless(()->!L4.getBoolean(true)).withTimeout(4), | ||||||
|         drivetrain.applyRequest(()-> |  | ||||||
|         drive.withVelocityX(0.1*MaxSpeed) |  | ||||||
|        .withVelocityY(0) |  | ||||||
|        .withRotationalRate(0)).unless(()->!L4.getBoolean(true)).withTimeout(0.25), |  | ||||||
|        drivetrain.applyRequest(()-> |        drivetrain.applyRequest(()-> | ||||||
|        drive.withVelocityX(0*MaxSpeed) |        drive.withVelocityX(0*MaxSpeed) | ||||||
|       .withVelocityY(0) |       .withVelocityY(0) | ||||||
|       .withRotationalRate(0)).unless(()->!L4.getBoolean(true)).withTimeout(2), |       .withRotationalRate(0)).unless(()->!L4.getBoolean(true)).withTimeout(2), | ||||||
|         new CoralExpire(pince, bougie).unless(()->!L4.getBoolean(true)).withTimeout(2), |  | ||||||
|         new L1Requin(requin, bougie).unless(()-> !L1.getBoolean(true)).withTimeout(2), |         new L1Requin(requin, bougie).unless(()-> !L1.getBoolean(true)).withTimeout(2), | ||||||
|         new ExpireCorail(requin, bougie).unless(()->!L1.getBoolean(true)).withTimeout(2), |         new ExpireCorail(requin, bougie).unless(()->!L1.getBoolean(true)).withTimeout(2), | ||||||
|         new RainBow(bougie)); |         new RainBow(bougie)); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user