From 4bf8d4bf8f631956406f80a60a9069e39787cd67 Mon Sep 17 00:00:00 2001 From: Beana1234 Date: Mon, 20 May 2024 19:10:21 +1000 Subject: [PATCH] retunr flywheel pid --- components/shooter.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/shooter.py b/components/shooter.py index 6c21a26b..3daf8fb1 100644 --- a/components/shooter.py +++ b/components/shooter.py @@ -93,12 +93,12 @@ def __init__(self) -> None: flywheel_pid = ( Slot0Configs() - .with_k_p(0.41377) + .with_k_p(0.17487) .with_k_i(0) .with_k_d(0) - .with_k_s(0.31461) - .with_k_v(0.097173) - .with_k_a(0.013103) + .with_k_s(0.32193) + .with_k_v(0.096182) + .with_k_a(0.0096935) ) flywheel_gear_ratio = FeedbackConfigs().with_sensor_to_mechanism_ratio(