From 5ae270a958bedb19e6236466067f0a49643d0d3c Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 10 May 2024 00:21:49 -0500 Subject: [PATCH] wip --- selfdrive/thermald/thermald.py | 2 +- selfdrive/ui/qt/home.cc | 3 ++- system/clearpilot/configure/provision.sh | 6 ++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index d962825..ddebd87 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -210,7 +210,7 @@ def thermald_thread(end_event, hw_queue) -> None: # For testing a temporary overtemp notice # set to 20 to show - test_temp_count = 20 + test_temp_count = 0 while not end_event.is_set(): sm.update(PANDA_STATES_TIMEOUT) diff --git a/selfdrive/ui/qt/home.cc b/selfdrive/ui/qt/home.cc index c9522f0..9c61735 100644 --- a/selfdrive/ui/qt/home.cc +++ b/selfdrive/ui/qt/home.cc @@ -89,7 +89,8 @@ void HomeWindow::offroadTransition(bool offroad) { body->setEnabled(false); if (offroad) { sidebar->setVisible(false); - slayout->setCurrentWidget(ready); + // slayout->setCurrentWidget(ready); + slayout->setCurrentWidget(home); // this->showDriverView(true, true); // Temp } else { sidebar->setVisible(false); diff --git a/system/clearpilot/configure/provision.sh b/system/clearpilot/configure/provision.sh index 2e6e39b..128d3ae 100644 --- a/system/clearpilot/configure/provision.sh +++ b/system/clearpilot/configure/provision.sh @@ -19,8 +19,10 @@ # Todo: Detect if provisioned for current version. If not, start qt_shell subshell for provision. apt-get update -apt-get install -y nodejs npm python3-pyqt5 pywayland imagemagick qtwebengine5-dev -python3-dev python3-pyqt5.qtwebengine pybind11-dev +apt-get install -y nodejs npm imagemagick ccrypt qtwebengine5-dev + +# python3-pyqt5 pywayland imagemagick qtwebengine5-dev +# python3-dev python3-pyqt5.qtwebengine pybind11-dev # apt-get install -y python3-pyqt5.qtwebengine # Detect if libyuv is installed. If it is, nothing to do.