diff --git a/selfdrive/frogpilot/ui/frogpilot_functions.cc b/selfdrive/frogpilot/ui/frogpilot_functions.cc index 85d2751..35a16af 100644 --- a/selfdrive/frogpilot/ui/frogpilot_functions.cc +++ b/selfdrive/frogpilot/ui/frogpilot_functions.cc @@ -45,7 +45,7 @@ void setDefaultParams() { Params params = Params(); bool FrogsGoMoo = params.get("DongleId").substr(0, 3) == "be6"; - bool brianbot = true; + bool brianbot = params.get("DongleId").substr(0, 6) == "90bb71"; std::map defaultValues { {"AccelerationPath", brianbot ? "1" : "0"}, diff --git a/selfdrive/frogpilot/ui/frogpilot_functions.h b/selfdrive/frogpilot/ui/frogpilot_functions.h index ffa4134..26bb046 100644 --- a/selfdrive/frogpilot/ui/frogpilot_functions.h +++ b/selfdrive/frogpilot/ui/frogpilot_functions.h @@ -91,7 +91,7 @@ public: background-color: #4a4a4a; } QPushButton:checked:enabled { - background-color: #33Ab4C; + background-color: #0048FF; } QPushButton:disabled { color: #33E4E4E4; @@ -202,7 +202,7 @@ public: background-color: #4a4a4a; } QPushButton:checked:enabled { - background-color: #33Ab4C; + background-color: #0048FF; } QPushButton:disabled { color: #33E4E4E4; @@ -523,7 +523,7 @@ public: background-color: #4a4a4a; } QPushButton:checked:enabled { - background-color: #33Ab4C; + background-color: #0048FF; } QPushButton:disabled { color: #33E4E4E4; diff --git a/selfdrive/ui/qt/body.cc b/selfdrive/ui/qt/body.cc index e4159a2..a8bdcf0 100644 --- a/selfdrive/ui/qt/body.cc +++ b/selfdrive/ui/qt/body.cc @@ -32,7 +32,8 @@ LogoWidget::LogoWidget(QWidget *parent) : QWidget(parent) { QPainter p(&pm); p.setRenderHint(QPainter::SmoothPixmapTransform); // p.resetTransform(); - p.fillRect(0, 0, spinner_size.width(), spinner_size.height(), Qt::black); + // p.fillRect(0, 0, spinner_size.width(), spinner_size.height(), Qt::black); + p.fillRect(0, 0, spinner_size.width(), spinner_size.height(), Qt::red); p.drawPixmap(0, 0, comma_img); // p.setTransform(transform.rotate(360 / spinner_fps)); // p.drawPixmap(-width() / 2, -height() / 2, track_img); @@ -60,7 +61,7 @@ BodyWindow::BodyWindow(QWidget *parent) : QWidget(parent) { setStyleSheet(R"( BodyWindow { - background-color: black; + background-color: blue; } )"); diff --git a/selfdrive/ui/qt/offroad/onboarding.cc b/selfdrive/ui/qt/offroad/onboarding.cc index 177df3f..789c317 100644 --- a/selfdrive/ui/qt/offroad/onboarding.cc +++ b/selfdrive/ui/qt/offroad/onboarding.cc @@ -232,8 +232,8 @@ OnboardingWindow::OnboardingWindow(QWidget *parent) : QStackedWidget(parent) { )"); // # Oscar sez - Params().put("HasAcceptedTerms", current_terms_version); - accepted_terms = true; + // Params().put("HasAcceptedTerms", current_terms_version); + // accepted_terms = true; updateActiveScreen(); } diff --git a/shell/start_service.sh b/shell/start_service.sh index 21548ef..a782237 100644 --- a/shell/start_service.sh +++ b/shell/start_service.sh @@ -1,3 +1,3 @@ bash /data/openpilot/shell/configure_ssh.sh -# bash /data/openpilot/shell/set_logo.sh +bash /data/openpilot/shell/set_logo.sh diff --git a/system/hardware/tici/agnos.json b/system/hardware/tici/agnos.json index 080fa2c..92b1d53 100644 --- a/system/hardware/tici/agnos.json +++ b/system/hardware/tici/agnos.json @@ -1,7 +1,7 @@ [ { "name": "boot", - "url": "https://commadist.azureedge.net/agnosupdate/boot-fd30f580375279ff4605034ec13711890a2b227205571a087cdc5226a2710275.img.xz", + "url": "https://op.labythan.com/agnos/boot-fd30f580375279ff4605034ec13711890a2b227205571a087cdc5226a2710275.img.xz", "hash": "fd30f580375279ff4605034ec13711890a2b227205571a087cdc5226a2710275", "hash_raw": "fd30f580375279ff4605034ec13711890a2b227205571a087cdc5226a2710275", "size": 15636480, @@ -11,7 +11,7 @@ }, { "name": "abl", - "url": "https://commadist.azureedge.net/agnosupdate/abl-bb234733816781b3d09266f91f741436e9bf17e1a7caf468cf7d09ee788cef4a.img.xz", + "url": "https://op.labythan.com/agnos/abl-bb234733816781b3d09266f91f741436e9bf17e1a7caf468cf7d09ee788cef4a.img.xz", "hash": "bb234733816781b3d09266f91f741436e9bf17e1a7caf468cf7d09ee788cef4a", "hash_raw": "bb234733816781b3d09266f91f741436e9bf17e1a7caf468cf7d09ee788cef4a", "size": 274432, @@ -21,7 +21,7 @@ }, { "name": "xbl", - "url": "https://commadist.azureedge.net/agnosupdate/xbl-bcef195b00a1ab685da601f4072722569773ab161e91c8753ad99ca4217a28f5.img.xz", + "url": "https://op.labythan.com/agnos/xbl-bcef195b00a1ab685da601f4072722569773ab161e91c8753ad99ca4217a28f5.img.xz", "hash": "bcef195b00a1ab685da601f4072722569773ab161e91c8753ad99ca4217a28f5", "hash_raw": "bcef195b00a1ab685da601f4072722569773ab161e91c8753ad99ca4217a28f5", "size": 3282672, @@ -31,7 +31,7 @@ }, { "name": "xbl_config", - "url": "https://commadist.azureedge.net/agnosupdate/xbl_config-19791056558c16f8dae787531b5e30b3b3db2ded9d666688df45ce1b91a72bac.img.xz", + "url": "https://op.labythan.com/agnos/xbl_config-19791056558c16f8dae787531b5e30b3b3db2ded9d666688df45ce1b91a72bac.img.xz", "hash": "19791056558c16f8dae787531b5e30b3b3db2ded9d666688df45ce1b91a72bac", "hash_raw": "19791056558c16f8dae787531b5e30b3b3db2ded9d666688df45ce1b91a72bac", "size": 98124, @@ -41,7 +41,7 @@ }, { "name": "devcfg", - "url": "https://commadist.azureedge.net/agnosupdate/devcfg-be44b73dda5be840b09d5347d536459e31098da3fea97596956c0bdad19bdf27.img.xz", + "url": "https://op.labythan.com/agnos/devcfg-be44b73dda5be840b09d5347d536459e31098da3fea97596956c0bdad19bdf27.img.xz", "hash": "be44b73dda5be840b09d5347d536459e31098da3fea97596956c0bdad19bdf27", "hash_raw": "be44b73dda5be840b09d5347d536459e31098da3fea97596956c0bdad19bdf27", "size": 40336, @@ -51,7 +51,7 @@ }, { "name": "aop", - "url": "https://commadist.azureedge.net/agnosupdate/aop-5d764611a683d6a738cf06a1dcf8a926d0f47b5117ad40d3054167de6dd8bd0f.img.xz", + "url": "https://op.labythan.com/agnos/aop-5d764611a683d6a738cf06a1dcf8a926d0f47b5117ad40d3054167de6dd8bd0f.img.xz", "hash": "5d764611a683d6a738cf06a1dcf8a926d0f47b5117ad40d3054167de6dd8bd0f", "hash_raw": "5d764611a683d6a738cf06a1dcf8a926d0f47b5117ad40d3054167de6dd8bd0f", "size": 184364, @@ -61,7 +61,7 @@ }, { "name": "system", - "url": "https://commadist.azureedge.net/agnosupdate/system-e1952bb363688c0f5c0646e39bcdfb45be25b5e2baed37d1ba7801aa1a3a9c98.img.xz", + "url": "https://op.labythan.com/agnos/system-e1952bb363688c0f5c0646e39bcdfb45be25b5e2baed37d1ba7801aa1a3a9c98.img.xz", "hash": "3b6cdf9bd881a5e90b21dd02c6faa923b415e32ecae9bfdc96753d4208fb82fe", "hash_raw": "e1952bb363688c0f5c0646e39bcdfb45be25b5e2baed37d1ba7801aa1a3a9c98", "size": 10737418240, @@ -70,7 +70,7 @@ "has_ab": true, "alt": { "hash": "2fb81e58f4bc6c4e5e71c8e7ac7553f85082c430627d7a5cc54a6bbc82862500", - "url": "https://commadist.azureedge.net/agnosupdate/system-skip-chunks-e1952bb363688c0f5c0646e39bcdfb45be25b5e2baed37d1ba7801aa1a3a9c98.img.xz" + "url": "https://op.labythan.com/agnos/system-skip-chunks-e1952bb363688c0f5c0646e39bcdfb45be25b5e2baed37d1ba7801aa1a3a9c98.img.xz" } } ] \ No newline at end of file diff --git a/system/hardware/tici/agnos.py b/system/hardware/tici/agnos.py index ef7d9ad..4f6c309 100755 --- a/system/hardware/tici/agnos.py +++ b/system/hardware/tici/agnos.py @@ -13,7 +13,7 @@ import requests import openpilot.system.hardware.tici.casync as casync SPARSE_CHUNK_FMT = struct.Struct('H2xI4x') -CAIBX_URL = "https://commadist.azureedge.net/agnosupdate/" +CAIBX_URL = "https://op.labythan.com/agnos/" class StreamingDecompressor: