Adjust RECOVERY_POWER to 1.2 for better recovery

Increased the RECOVERY_POWER to improve model recovery.
This commit is contained in:
firestar5683
2025-12-02 13:46:54 -06:00
committed by GitHub
parent 8a0f3a86f6
commit 9eab9cd574
+2 -2
View File
@@ -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
raise