From 9eab9cd5740ca1c6c7d92f0e1e2168a5abb10073 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Tue, 2 Dec 2025 13:46:54 -0600 Subject: [PATCH] Adjust RECOVERY_POWER to 1.2 for better recovery Increased the RECOVERY_POWER to improve model recovery. --- frogpilot/tinygrad_modeld/tinygrad_modeld.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frogpilot/tinygrad_modeld/tinygrad_modeld.py b/frogpilot/tinygrad_modeld/tinygrad_modeld.py index 76b6f3b54..8bef27a11 100755 --- a/frogpilot/tinygrad_modeld/tinygrad_modeld.py +++ b/frogpilot/tinygrad_modeld/tinygrad_modeld.py @@ -33,7 +33,7 @@ from openpilot.frogpilot.common.frogpilot_variables import get_frogpilot_toggles PROCESS_NAME = "frogpilot.tinygrad_modeld.tinygrad_modeld" SEND_RAW_PRED = os.getenv('SEND_RAW_PRED') -RECOVERY_POWER = 1.0 # The higher this number the more aggressively the model will recover to lanecenter, too high and it will ping-pong +RECOVERY_POWER = 1.2 # The higher this number the more aggressively the model will recover to lanecenter, too high and it will ping-pong LAT_SMOOTH_SECONDS = 0.1 @@ -484,4 +484,4 @@ if __name__ == "__main__": cloudlog.warning(f"child {PROCESS_NAME} got SIGINT") except Exception: sentry.capture_exception() - raise \ No newline at end of file + raise