Blind spot path

Added toggle to display a red path in the adjacent lane when a vehicle is detected in the blind spot.
This commit is contained in:
FrogAi
2024-02-27 16:34:47 -07:00
parent 0cd83a9021
commit e20aaf75e5
10 changed files with 78 additions and 1 deletions

View File

@@ -172,9 +172,17 @@ typedef struct UIScene {
bool acceleration_path;
bool always_on_lateral;
bool always_on_lateral_active;
bool blind_spot_left;
bool blind_spot_path;
bool blind_spot_right;
bool enabled;
bool experimental_mode;
float lane_width_left;
float lane_width_right;
QPolygonF track_adjacent_vertices[6];
} UIScene;
class UIState : public QObject {