Compare commits
2 Commits
a023213a18
...
899f8f3bf6
Author | SHA1 | Date | |
---|---|---|---|
899f8f3bf6 | |||
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