From 4c7f6d5a69067f1eea277a4ef40c210b47abd7fb Mon Sep 17 00:00:00 2001 From: James <91348155+FrogAi@users.noreply.github.com> Date: Mon, 17 Jun 2024 19:07:06 -0700 Subject: [PATCH] Update annotated_camera.cc --- selfdrive/ui/qt/onroad/annotated_camera.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/onroad/annotated_camera.cc b/selfdrive/ui/qt/onroad/annotated_camera.cc index 050f94373..6d076a8a0 100644 --- a/selfdrive/ui/qt/onroad/annotated_camera.cc +++ b/selfdrive/ui/qt/onroad/annotated_camera.cc @@ -410,7 +410,7 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s, c painter.setBrush(bg); painter.drawPolygon(scene.track_vertices); - if (scene.model_length < v_ego * 10 - 2) { + if (scene.model_length < v_ego * (10 - 3)) { QPointF last_point = scene.track_vertices.last(); QString text = QString::number(scene.model_length * distanceConversion) + leadDistanceUnit; painter.save();