mode auto
This commit is contained in:
parent
28d5118c1f
commit
0d63654df8
@ -158,7 +158,7 @@ public class RobotContainer {
|
|||||||
public Command getAutonomousCommand() {
|
public Command getAutonomousCommand() {
|
||||||
return new SequentialCommandGroup(
|
return new SequentialCommandGroup(
|
||||||
drivetrain.applyRequest(()->
|
drivetrain.applyRequest(()->
|
||||||
drive.withVelocityX(-0.5*MaxSpeed)
|
drive.withVelocityX(-0.1*MaxSpeed)
|
||||||
.withVelocityY(0)
|
.withVelocityY(0)
|
||||||
.withRotationalRate(0)).unless(()->!Reculer.getBoolean(true)).withTimeout(2),
|
.withRotationalRate(0)).unless(()->!Reculer.getBoolean(true)).withTimeout(2),
|
||||||
drivetrain.applyRequest(()->
|
drivetrain.applyRequest(()->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user