lanceur
This commit is contained in:
@@ -64,7 +64,7 @@ public class Lancer extends Command {
|
|||||||
lanceur.Lancer(output);
|
lanceur.Lancer(output);
|
||||||
if(lanceur.Vitesse() >= vitesse-800){
|
if(lanceur.Vitesse() >= vitesse-800){
|
||||||
timer.start();
|
timer.start();
|
||||||
if(timer.get() >0.5){
|
if(timer.get() >1){
|
||||||
lanceur.Demeler(1);
|
lanceur.Demeler(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ public class LancerAuto extends Command {
|
|||||||
lanceur.Lancer(output);
|
lanceur.Lancer(output);
|
||||||
if(lanceur.Vitesse() >= vitesse-800){
|
if(lanceur.Vitesse() >= vitesse-800){
|
||||||
timer.start();
|
timer.start();
|
||||||
if(timer.get() >0.5){
|
if(timer.get() >1){
|
||||||
lanceur.Demeler(1);
|
lanceur.Demeler(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ public class LimelighterAuto extends Command {
|
|||||||
@Override
|
@Override
|
||||||
public void execute() {
|
public void execute() {
|
||||||
double[] BotPose = new double[6];
|
double[] BotPose = new double[6];
|
||||||
System.out.println("e");
|
System.out.println("a");
|
||||||
if (limelight3g.getV()) {
|
if (limelight3g.getV()) {
|
||||||
if(alliance.isPresent()){
|
if(alliance.isPresent()){
|
||||||
if(alliance.get() == Alliance.Blue){
|
if(alliance.get() == Alliance.Blue){
|
||||||
|
|||||||
Reference in New Issue
Block a user