Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Nov 14, 2021
1 parent 4679fa5 commit 24a8a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/ui/paint.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 24a8a3f

Please sign in to comment.