Merge branch 'main' of https://git.demerso.net/PLS5618/pratique-2025
This commit is contained in:
commit
0735fdb41a
@ -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