From 67caff58a8ba5ac04426c1f1e6655818244618e1 Mon Sep 17 00:00:00 2001 From: Beana1234 Date: Sun, 19 May 2024 16:52:07 +1000 Subject: [PATCH] changed inclinator offset --- components/shooter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/shooter.py b/components/shooter.py index dcafe820..6caa2b8d 100644 --- a/components/shooter.py +++ b/components/shooter.py @@ -30,7 +30,7 @@ class ShooterComponent: MAX_INCLINE_ANGLE = 1.045 # ~60 degrees MIN_INCLINE_ANGLE = 0.354 # ~20 degrees INCLINATOR_TOLERANCE = math.radians(1) - INCLINATOR_OFFSET = 4.023 - MIN_INCLINE_ANGLE + INCLINATOR_OFFSET = 3.894 - MIN_INCLINE_ANGLE INCLINATOR_SCALE_FACTOR = math.tau # rps -> radians INCLINATOR_GEAR_RATIO = 18 / 24 * 26 / 300 INCLINATOR_POSITION_CONVERSION_FACTOR = (