Speed limit controller

Added toggle to control the cruise set speed according to speed limit supplied by OSM, NOO, or the vehicle itself.

Co-Authored-By: Jacob Pfeifer <jacob@pfeifer.dev>
Co-Authored-By: Efini <19368997+efini@users.noreply.github.com>
Co-Authored-By: Kumar <36933347+rav4kumar@users.noreply.github.com>
This commit is contained in:
FrogAi
2024-01-12 22:39:30 -07:00
parent 6fa4b545a8
commit 22bfc8d9b7
16 changed files with 440 additions and 13 deletions

View File

@@ -193,6 +193,8 @@ typedef struct UIScene {
bool rotating_wheel;
bool show_driver_camera;
bool show_fps;
bool speed_limit_controller;
bool speed_limit_overridden;
bool tethering_enabled;
bool turn_signal_left;
bool turn_signal_right;
@@ -205,6 +207,9 @@ typedef struct UIScene {
float path_edge_width;
float path_width;
float road_edge_width;
float speed_limit;
float speed_limit_offset;
float speed_limit_overridden_speed;
int bearing_deg;
int camera_view;
int conditional_speed;