Show Driver Camera When In Reverse

This commit is contained in:
James
2025-12-01 12:00:00 -07:00
parent 42947c7977
commit cf070c2aae
5 changed files with 19 additions and 6 deletions
+1
View File
@@ -56,4 +56,5 @@ void FrogPilotUIState::update() {
update_state(this);
frogpilot_scene.conditional_status = frogpilot_scene.enabled ? params_memory.getInt("CEStatus") : 0;
frogpilot_scene.driver_camera_timer = frogpilot_scene.reverse && frogpilot_scene.frogpilot_toggles.value("driver_camera_in_reverse").toBool() ? frogpilot_scene.driver_camera_timer + 1 : 0;
}
+1
View File
@@ -17,6 +17,7 @@ struct FrogPilotUIScene {
bool standstill;
int conditional_status;
int driver_camera_timer;
int started_timer;
QJsonObject frogpilot_toggles;