diff --git a/selfdrive/ui/ui.cc b/selfdrive/ui/ui.cc index 8e7896a..1e8d6bd 100755 --- a/selfdrive/ui/ui.cc +++ b/selfdrive/ui/ui.cc @@ -16,6 +16,9 @@ #define BACKLIGHT_DT 0.05 #define BACKLIGHT_TS 10.00 +Params paramsMemory{"/dev/shm/params"}; + + // Projects a point in car to space to the corresponding point in full frame // image space. static bool calib_frame_to_full_frame(const UIState *s, float in_x, float in_y, float in_z, QPointF *out) { diff --git a/selfdrive/ui/ui.h b/selfdrive/ui/ui.h index e8ce6cf..75f24fc 100755 --- a/selfdrive/ui/ui.h +++ b/selfdrive/ui/ui.h @@ -37,9 +37,9 @@ typedef enum UIStatus { const float CENTER_LANE_ALPHA = 0.75; const float OTHER_LANE_ALPHA = 0.75; -const int CENTER_PATH_WIDTH = 70; +const int CENTER_LANE_WIDTH = 70; const int LANE_CHANGE_NO_LAT_PATH_WIDTH = 10; -const int EDGE_PATH_WIDTH = 16; +const int OTHER_LANE_WIDTH = 16; const QColor ACTIVE_COLOR = QColor(189, 199, 252, 0xd1); @@ -341,7 +341,7 @@ private: bool started_prev = false; // FrogPilot variables - Params paramsMemory{"/dev/shm/params"}; + // Params paramsMemory{"/dev/shm/params"}; }; UIState *uiState();