FPS counter

Added toggle to enable an fps counter for the onroad UI and the current displayed camera.
This commit is contained in:
FrogAi
2024-02-27 16:34:47 -07:00
parent 4045564927
commit 9f12f67d06
8 changed files with 84 additions and 2 deletions

View File

@@ -297,6 +297,7 @@ void ui_update_frogpilot_params(UIState *s) {
scene.adjacent_path = custom_onroad_ui && params.getBool("AdjacentPath");
scene.adjacent_path_metrics = scene.adjacent_path && params.getBool("AdjacentPathMetrics");
scene.blind_spot_path = custom_onroad_ui && params.getBool("BlindSpotPath");
scene.fps_counter = custom_onroad_ui && params.getBool("FPSCounter");
scene.lead_info = custom_onroad_ui && params.getBool("LeadInfo");
scene.use_si = scene.lead_info && params.getBool("UseSI");