Skip to content

Commit

Permalink
Allow more time for snapshots and increase alert priority for disallo…
Browse files Browse the repository at this point in the history
…wed community feature
  • Loading branch information
rbiasini committed Dec 14, 2019
1 parent c025b96 commit a4b4513
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion selfdrive/camerad/snapshot/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion selfdrive/controls/lib/alerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ def __gt__(self, alert2):
"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",
Expand Down

0 comments on commit a4b4513

Please sign in to comment.