Update annotated_camera.cc

This commit is contained in:
James 2024-06-17 19:07:06 -07:00 committed by GitHub
parent ebb219927e
commit 4c7f6d5a69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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();