Customize the model visuals in the onroad UI

Added toggles to customize the lane lines, path, road edges, path edges, and an "Unlimited Length" mode that extends the road UI out as far as the model can see.
This commit is contained in:
FrogAi
2024-02-27 16:34:47 -07:00
parent 786e52880d
commit b11db103c8
6 changed files with 126 additions and 6 deletions

View File

@@ -176,13 +176,20 @@ typedef struct UIScene {
bool blind_spot_path;
bool blind_spot_right;
bool conditional_experimental;
bool dynamic_path_width;
bool enabled;
bool experimental_mode;
bool model_ui;
bool turn_signal_left;
bool turn_signal_right;
bool unlimited_road_ui_length;
float lane_line_width;
float lane_width_left;
float lane_width_right;
float path_edge_width;
float path_width;
float road_edge_width;
int camera_view;
int conditional_speed;
@@ -193,6 +200,7 @@ typedef struct UIScene {
int custom_signals;
QPolygonF track_adjacent_vertices[6];
QPolygonF track_edge_vertices;
} UIScene;