From 273831aa14950b71ff84073d716a0fef2d1fa31e Mon Sep 17 00:00:00 2001 From: George Hotz Date: Tue, 19 Apr 2022 15:53:58 -0700 Subject: [PATCH] ui: make the path double wide for e2e --- selfdrive/ui/ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/ui.cc b/selfdrive/ui/ui.cc index 583c03a5d..3a9cff2f7 100644 --- a/selfdrive/ui/ui.cc +++ b/selfdrive/ui/ui.cc @@ -98,7 +98,7 @@ static void update_model(UIState *s, const cereal::ModelDataV2::Reader &model) { max_distance = std::clamp((float)(lead_d - fmin(lead_d * 0.35, 10.)), 0.0f, max_distance); } max_idx = get_path_length_idx(model_position, max_distance); - update_line_data(s, model_position, 0.5, 1.22, &scene.track_vertices, max_idx); + update_line_data(s, model_position, scene.end_to_end ? 1.0 : 0.5, 1.22, &scene.track_vertices, max_idx); } static void update_sockets(UIState *s) {