Skip to content

Commit

Permalink
Fix lane lines attempt #3
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeexsixare authored Sep 13, 2018
1 parent 807a2da commit 5117f3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion selfdrive/ui/ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ const int alert_sizes[] = {

typedef struct UIScene {
int frontview;

int fullview;

int transformed_width, transformed_height;

uint64_t model_ts;
Expand Down Expand Up @@ -473,6 +474,7 @@ static void ui_init_vision(UIState *s, const VisionStreamBufs back_bufs,

s->scene = (UIScene){
.frontview = getenv("FRONTVIEW") != NULL,
.fullview = getenv("FULLVIEW") != NULL,
.cal_status = CALIBRATION_CALIBRATED,
.transformed_width = ui_info.transformed_width,
.transformed_height = ui_info.transformed_height,
Expand Down

0 comments on commit 5117f3d

Please sign in to comment.