wip
This commit is contained in:
@@ -16,6 +16,9 @@
|
|||||||
#define BACKLIGHT_DT 0.05
|
#define BACKLIGHT_DT 0.05
|
||||||
#define BACKLIGHT_TS 10.00
|
#define BACKLIGHT_TS 10.00
|
||||||
|
|
||||||
|
Params paramsMemory{"/dev/shm/params"};
|
||||||
|
|
||||||
|
|
||||||
// Projects a point in car to space to the corresponding point in full frame
|
// Projects a point in car to space to the corresponding point in full frame
|
||||||
// image space.
|
// image space.
|
||||||
static bool calib_frame_to_full_frame(const UIState *s, float in_x, float in_y, float in_z, QPointF *out) {
|
static bool calib_frame_to_full_frame(const UIState *s, float in_x, float in_y, float in_z, QPointF *out) {
|
||||||
|
|||||||
@@ -37,9 +37,9 @@ typedef enum UIStatus {
|
|||||||
const float CENTER_LANE_ALPHA = 0.75;
|
const float CENTER_LANE_ALPHA = 0.75;
|
||||||
const float OTHER_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 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);
|
const QColor ACTIVE_COLOR = QColor(189, 199, 252, 0xd1);
|
||||||
|
|
||||||
@@ -341,7 +341,7 @@ private:
|
|||||||
bool started_prev = false;
|
bool started_prev = false;
|
||||||
|
|
||||||
// FrogPilot variables
|
// FrogPilot variables
|
||||||
Params paramsMemory{"/dev/shm/params"};
|
// Params paramsMemory{"/dev/shm/params"};
|
||||||
};
|
};
|
||||||
|
|
||||||
UIState *uiState();
|
UIState *uiState();
|
||||||
|
|||||||
Reference in New Issue
Block a user