Limit swich elevateur + limit switch pince (testé en simulation-Fonctionne)

This commit is contained in:
Antoine PerreaultE
2025-02-27 19:22:36 -05:00
parent d7a887571a
commit 280270245e
6 changed files with 31 additions and 99 deletions

View File

@@ -133,7 +133,7 @@ public class RobotContainer {
//Pince manuel
pince.setDefaultCommand(new RunCommand(()->{
pince.pivote(MathUtil.applyDeadband(manette2.getRightY(), 0.1));
pince.pivote(MathUtil.applyDeadband(manette2.getRightY()*manette2.getRightY()*manette2.getRightY(), 0.05));
}, pince));
//Elevateur manuel