From 24a8a3fc2beef263909810d828d4e4fb5ea576e8 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Sat, 13 Nov 2021 19:49:49 -0600 Subject: [PATCH] comment --- selfdrive/ui/paint.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/paint.cc b/selfdrive/ui/paint.cc index 71613cbb82bd4b..643ec3e6a36832 100644 --- a/selfdrive/ui/paint.cc +++ b/selfdrive/ui/paint.cc @@ -143,7 +143,7 @@ static void ui_draw_world(UIState *s) { auto lead_two = (*s->sm)["modelV2"].getModelV2().getLeadsV3()[1]; if (lead_one.getProb() > .5) { draw_lead(s, lead_one.getX()[0], lead_one.getV()[0], s->scene.lead_vertices[0]); - } else if (v_ego < 4. && lead_one_radar.getStatus()) { // draw leads detected from low speed override + } else if (v_ego < 4. && lead_one_radar.getStatus()) { // draw leads from low speed override draw_lead(s, lead_one_radar.getDRel(), lead_one_radar.getVRel(), s->scene.lead_vertices[0]); } if (lead_two.getProb() > .5 && (std::abs(lead_one.getX()[0] - lead_two.getX()[0]) > 3.0)) {