avancement du dashboard
This commit is contained in:
@ -26,7 +26,7 @@ public class Balayer extends Command {
|
||||
public void execute() {
|
||||
if(accumulateur.limitswitch()){
|
||||
balayeuse.balaye(0);
|
||||
accumulateur.Accumuler(0);
|
||||
accumulateur.Accumuler();
|
||||
}
|
||||
else{
|
||||
balayeuse.balaye(0.6);
|
||||
|
@ -26,7 +26,7 @@ public class Lancer extends Command {
|
||||
// Called every time the scheduler runs while the command is scheduled.
|
||||
@Override
|
||||
public void execute() {
|
||||
lanceur.lancer(0.3);
|
||||
lanceur.lancerspeaker();
|
||||
}
|
||||
|
||||
// Called once the command ends or is interrupted.
|
||||
|
@ -26,7 +26,7 @@ public class LancerNote extends Command {
|
||||
@Override
|
||||
public void execute() {
|
||||
double vitesse = 100;
|
||||
lancer.lancer(vitesse);
|
||||
lancer.lancerspeaker();
|
||||
if(lancer.vitesse(vitesse)>vitesse){
|
||||
accumulateur.Accumuler(0.6);
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ public class Lancerampli extends Command {
|
||||
// Called every time the scheduler runs while the command is scheduled.
|
||||
@Override
|
||||
public void execute() {
|
||||
lanceur.lancer(0.1);
|
||||
lanceur.lanceramp();
|
||||
}
|
||||
|
||||
// Called once the command ends or is interrupted.
|
||||
|
Reference in New Issue
Block a user