|
|
@ -7,7 +7,7 @@ from openpilot.common.basedir import BASEDIR |
|
|
|
from openpilot.common.swaglog import cloudlog |
|
|
|
from openpilot.common.swaglog import cloudlog |
|
|
|
from openpilot.system.hardware import HARDWARE |
|
|
|
from openpilot.system.hardware import HARDWARE |
|
|
|
|
|
|
|
|
|
|
|
DEFAULT_FPS = 60 |
|
|
|
DEFAULT_FPS = 30 |
|
|
|
FPS_LOG_INTERVAL = 5 # Seconds between logging FPS drops |
|
|
|
FPS_LOG_INTERVAL = 5 # Seconds between logging FPS drops |
|
|
|
FPS_DROP_THRESHOLD = 0.9 # FPS drop threshold for triggering a warning |
|
|
|
FPS_DROP_THRESHOLD = 0.9 # FPS drop threshold for triggering a warning |
|
|
|
FPS_CRITICAL_THRESHOLD = 0.5 # Critical threshold for triggering strict actions |
|
|
|
FPS_CRITICAL_THRESHOLD = 0.5 # Critical threshold for triggering strict actions |
|
|
|