Allow more time for snapshots and increase alert priority for disallowed community feature

old-commit-hash: a4b4513149
commatwo_master
Riccardo 5 years ago
parent 99b637c7ce
commit 24b82c4179
  1. 2
      selfdrive/camerad/snapshot/snapshot.py
  2. 2
      selfdrive/controls/lib/alerts.py

@ -35,7 +35,7 @@ def snapshot():
return None
proc = subprocess.Popen(os.path.join(BASEDIR, "selfdrive/camerad/camerad"), cwd=os.path.join(BASEDIR, "selfdrive/camerad"))
time.sleep(1.0)
time.sleep(3.0)
ret = None
start_time = time.time()

@ -714,7 +714,7 @@ ALERTS = [
"Community Feature Detected",
"Enable Community Features in Developer Settings",
AlertStatus.normal, AlertSize.mid,
Priority.LOW_LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
Priority.LOW, VisualAlert.none, AudibleAlert.none, 0., 0., .2), # LOW priority to overcome Cruise Error
Alert(
"sensorDataInvalidPermanent",

Loading…
Cancel
Save