This commit is contained in:
samuel desharnais 2024-02-19 19:14:19 -05:00
parent 954b091f9d
commit 355e1ff903
2 changed files with 8 additions and 15 deletions

View File

@ -33,7 +33,14 @@
{
"type": "parallel",
"data": {
"commands": []
"commands": [
{
"type": "path",
"data": {
"pathName": "6.1"
}
}
]
}
}
]

View File

@ -46,20 +46,6 @@ public class Lanceur extends SubsystemBase {
lanceur4.getPIDController().setI(0.5);
lanceur4.getPIDController().setD(0.5);
}
public void pidampli(){
lanceur1.getPIDController().setP(0.1);
lanceur1.getPIDController().setI(0.1);
lanceur1.getPIDController().setD(0.1);
lanceur2.getPIDController().setP(0.1);
lanceur1.getPIDController().setI(0.1);
lanceur2.getPIDController().setD(0.1);
lanceur3.getPIDController().setP(0.1);
lanceur3.getPIDController().setI(0.1);
lanceur3.getPIDController().setD(0.1);
lanceur4.getPIDController().setP(0.1);
lanceur4.getPIDController().setI(0.1);
lanceur4.getPIDController().setD(0.1);
}
public void lancer(double vitesse){
lanceur1.set(-vitesse);
lanceur2.set(-vitesse);