Compare commits

..

2 Commits

Author SHA1 Message Date
Antoine PerreaultE
37452f0b05 Merge branch 'main' of https://git.demerso.net/PLS5618/Reefscape-2025 2025-03-01 15:28:12 -05:00
Antoine PerreaultE
0c701558ec encodeur 2025-03-01 15:27:32 -05:00
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ public class RobotContainer {
manette2.povRight().whileTrue(new GrimpeurBas(Grimpeur)); manette2.povRight().whileTrue(new GrimpeurBas(Grimpeur));
//Pince manuel //Pince manuel
pince.setDefaultCommand(new RunCommand(()->{ pince.setDefaultCommand(new RunCommand(()->{
pince.pivote(MathUtil.applyDeadband(manette2.getRightY()*manette2.getRightY()*manette2.getRightY(), 0.05)); pince.pivote(MathUtil.applyDeadband((manette2.getRightY()*manette2.getRightY()*manette2.getRightY())/3, 0.05));
}, pince)); }, pince));
//Elevateur manuel //Elevateur manuel

View File

@ -40,7 +40,7 @@ public class StationPince extends Command {
pince.aspirecoral(0.5); pince.aspirecoral(0.5);
} }
if(pince.encodeurpivot()<=9.8 && pince.encodeurpivot()>=12){ if(pince.encodeurpivot()<=11 && pince.encodeurpivot()>=12.6){
pince.pivote(0); pince.pivote(0);
} }
else if(pince.encodeurpivot()>=9.8){ else if(pince.encodeurpivot()>=9.8){