From 08f59379378aa713e2e4a9ef746c35ad2b293e03 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 17 May 2024 11:24:08 -0500 Subject: [PATCH] wip --- selfdrive/ui/qt/onroad.cc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/selfdrive/ui/qt/onroad.cc b/selfdrive/ui/qt/onroad.cc index 04a10d4..e5fbfa4 100755 --- a/selfdrive/ui/qt/onroad.cc +++ b/selfdrive/ui/qt/onroad.cc @@ -1259,15 +1259,6 @@ void AnnotatedCameraWidget::paintFrogPilotWidgets(QPainter &p) { drawStatusBar(p); } - // if (customSignals != 0 && (turnSignalLeft || turnSignalRight) && !bigMapOpen) { - // if (!animationTimer->isActive()) { - // animationTimer->start(totalFrames * 11); // 440 milliseconds per loop; syncs up perfectly with my 2019 Lexus ES 350 turn signal clicks - // } - // drawTurnSignals(p); - // } else if (animationTimer->isActive()) { - // animationTimer->stop(); - // } - if (leadInfo) { drawLeadInfo(p); } @@ -1493,7 +1484,7 @@ void AnnotatedCameraWidget::drawLeadInfo(QPainter &p) { speedConversion = MS_TO_KPH; } else { accelerationUnit = tr(" ft/s²"); - leadDistanceUnit = tr(mapOpen ? "ft" : "feet"); + leadDistanceUnit = tr("feet"); leadSpeedUnit = tr("mph"); accelerationConversion = METER_TO_FOOT;