Compare commits

..

No commits in common. "37452f0b05f979ad41fdcf134d78010a8e6ebc68" and "b6bd4d93199906400ce8a21205c7118f4acd8aef" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

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

View File

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