h
This commit is contained in:
parent
6608330374
commit
5916701726
@ -156,8 +156,8 @@ public class RobotContainer {
|
||||
Commands.waitSeconds(1),
|
||||
Commands.either(reculers, reculerb, () -> autosortir.getBoolean(true)),
|
||||
new Avancer(basePilotable, () -> avancerdistance.getDouble(0)).unless(() -> !autosortir.getBoolean(true) || !autobalance.getBoolean(false)),
|
||||
Commands.either(gyro, Commands.none(), () -> autobalance.getBoolean(true))))
|
||||
.andThen(brakeOuvre);
|
||||
Commands.either(new Gyro(basePilotable), Commands.none(), () -> autobalance.getBoolean(true))))
|
||||
.andThen(new BrakeOuvre(basePilotable));
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -4,8 +4,6 @@
|
||||
|
||||
package frc.robot.commands;
|
||||
|
||||
import edu.wpi.first.wpilibj.shuffleboard.Shuffleboard;
|
||||
import edu.wpi.first.wpilibj.shuffleboard.ShuffleboardTab;
|
||||
import edu.wpi.first.wpilibj2.command.CommandBase;
|
||||
import frc.robot.subsystems.BasePilotable;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user