mode auto fonctionnel
This commit is contained in:
parent
b3c699ccf9
commit
41e7d89919
@ -184,6 +184,10 @@ public class RobotContainer {
|
|||||||
drive.withVelocityX(-0.5*MaxSpeed)
|
drive.withVelocityX(-0.5*MaxSpeed)
|
||||||
.withVelocityY(0)
|
.withVelocityY(0)
|
||||||
.withRotationalRate(0)).withTimeout(2),
|
.withRotationalRate(0)).withTimeout(2),
|
||||||
|
drivetrain.applyRequest(()->
|
||||||
|
drive.withVelocityX(0)
|
||||||
|
.withVelocityY(0)
|
||||||
|
.withRotationalRate(0)).withTimeout(0.1),
|
||||||
new L1Requin(requin, bougie).withTimeout(2),
|
new L1Requin(requin, bougie).withTimeout(2),
|
||||||
new ExpireCorail(requin, bougie).withTimeout(2),
|
new ExpireCorail(requin, bougie).withTimeout(2),
|
||||||
new RainBow(bougie));
|
new RainBow(bougie));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user