acc + update dash

This commit is contained in:
2024-11-13 18:56:31 -05:00
parent 4ddd030426
commit ab36e8dadf
4 changed files with 24 additions and 21 deletions

View File

@ -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.desaccumule(0.1);}
if(accumulateur.photocell() || accumulateur.photocell2()){accumulateur.desaccumule(0.1);}
}
// Called once the command ends or is interrupted.