touche
This commit is contained in:
parent
437bf16505
commit
e7be2d6428
@ -43,6 +43,9 @@ public class RobotContainer {
|
||||
Lancer lancer= new Lancer(lanceur);
|
||||
Desaccumuler desaccumuler = new Desaccumuler(accumulateur);
|
||||
FollowAprilTag aprilTag = new FollowAprilTag(limelight3G, lanceur);
|
||||
manette.x().whileTrue(new Lancer(lanceur));
|
||||
manette.leftBumper().toggleOnTrue(new FollowAprilTag(limelight3G, lanceur));
|
||||
manette.a().whileTrue(new Desaccumuler(accumulateur));
|
||||
}
|
||||
|
||||
public Command getAutonomousCommand() {
|
||||
|
@ -47,7 +47,7 @@ public class Lanceur extends SubsystemBase {
|
||||
public void lance(double vitesse){
|
||||
lanceur1.set(vitesse);lanceur2.set(vitesse);
|
||||
}
|
||||
public void lance(){
|
||||
public void lance(){
|
||||
lance(vitesse.getDouble(0.2));
|
||||
}
|
||||
public void tourelRotation(double x, double y, double rotation){
|
||||
|
Loading…
x
Reference in New Issue
Block a user