Compare commits

..

No commits in common. "899f8f3bf6c08b8d56aada199a45ceb9de39082b" and "a023213a183e21196fa882742ba618961656cc52" have entirely different histories.

View File

@ -22,7 +22,7 @@ public class Desaccumuler extends Command {
// Called every time the scheduler runs while the command is scheduled. // Called every time the scheduler runs while the command is scheduled.
@Override @Override
public void execute() { public void execute() {
if(!accumulateur.photocell() || !accumulateur.photocell2()){accumulateur.desaccumule(0.1);} if(accumulateur.photocell() || accumulateur.photocell2()){accumulateur.desaccumule(0.1);}
} }
// Called once the command ends or is interrupted. // Called once the command ends or is interrupted.