Skip to content

Commit

Permalink
ui: adjust e2e path width
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane authored and Casey Francis committed Jun 22, 2022
1 parent e4f0cda commit d54430a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/ui/ui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 ? 0.9 : 0.5, 1.22, &scene.track_vertices, max_idx);
}

static void update_sockets(UIState *s) {
Expand Down

0 comments on commit d54430a

Please sign in to comment.