mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 12:02:09 +08:00
Adjust RECOVERY_POWER to 1.2 for better recovery
Increased the RECOVERY_POWER to improve model recovery.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user