This commit is contained in:
samuel desharnais
2024-02-21 18:48:46 -05:00
parent 6c4dfc9ddb
commit c13d1ecf2c
3 changed files with 7 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ public class Lanceur extends SubsystemBase {
private final MutableMeasure<Angle> angle = mutable(Rotations.of(0));
// Mutable holder for unit-safe linear velocity values, persisted to avoid reallocation.
private final MutableMeasure<Velocity<Angle>> velocity = mutable(RotationsPerSecond.of(0));
public void pidspeaker(){
public void pid(){
lanceur1.getPIDController().setP(0.000006824);
lanceur2.getPIDController().setP(0.0051335);
lanceur3.getPIDController().setP(0.00079046);