This commit is contained in:
Your Name
2024-02-13 16:44:19 -06:00
parent 9eee0333ec
commit b3d781ef26
7 changed files with 19 additions and 18 deletions

View File

@@ -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<std::string, std::string> defaultValues {
{"AccelerationPath", brianbot ? "1" : "0"},

View File

@@ -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;

View File

@@ -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;
}
)");

View File

@@ -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();
}

View File

@@ -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

View File

@@ -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"
}
}
]

View File

@@ -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: