This commit is contained in:
Your Name
2024-05-17 13:18:13 -05:00
parent 7569a9e05f
commit d18b27a53a
2 changed files with 6 additions and 3 deletions

View File

@@ -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) {

View File

@@ -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();