diff --git a/selfdrive/ui/qt/onroad/model.cc b/selfdrive/ui/qt/onroad/model.cc index 12c0349e42..5228d960f7 100644 --- a/selfdrive/ui/qt/onroad/model.cc +++ b/selfdrive/ui/qt/onroad/model.cc @@ -55,7 +55,7 @@ void ModelRenderer::draw(QPainter &painter, const QRect &surface_rect) { } QPointF screen_pt; if (mapToScreen(d_pred, -y_pred, path_offset_z, &screen_pt)) { - drawRadarPoint(painter, screen_pt, track.getVRel(), 10); + drawRadarPoint(painter, screen_pt, track.getVRel(), 10.0f); } } }