accumu réglé
This commit is contained in:
parent
1facdb07e5
commit
4076c5d368
@ -22,7 +22,7 @@ public class Desaccumuler extends Command {
|
||||
// Called every time the scheduler runs while the command is scheduled.
|
||||
@Override
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user