wait longer to show controls waiting alert (#21657)

pull/21669/head
Adeeb Shihadeh 4 years ago committed by GitHub
parent 56c4a3be9f
commit ced26b806f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/ui/qt/onroad.cc

@ -76,7 +76,7 @@ void OnroadAlerts::updateState(const UIState &s) {
QString::fromStdString(cs.getAlertText2()),
QString::fromStdString(cs.getAlertType()),
cs.getAlertSize(), cs.getAlertSound()});
} else if ((sm.frame - s.scene.started_frame) > 5 * UI_FREQ) {
} else if ((sm.frame - s.scene.started_frame) > 10 * UI_FREQ) {
// Handle controls timeout
if (sm.rcv_frame("controlsState") < s.scene.started_frame) {
// car is started, but controlsState hasn't been seen at all

Loading…
Cancel
Save