diff --git a/selfdrive/assets/dragonpilot.png b/selfdrive/assets/dragonpilot.png
new file mode 100644
index 000000000..aa90a78c4
Binary files /dev/null and b/selfdrive/assets/dragonpilot.png differ
diff --git a/selfdrive/assets/icons/icon_empty.svg b/selfdrive/assets/icons/icon_empty.svg
new file mode 100644
index 000000000..2f73de52a
--- /dev/null
+++ b/selfdrive/assets/icons/icon_empty.svg
@@ -0,0 +1,35 @@
+
+
diff --git a/selfdrive/selfdrived/selfdrived.py b/selfdrive/selfdrived/selfdrived.py
index 3778032bc..ecf76fe7f 100755
--- a/selfdrive/selfdrived/selfdrived.py
+++ b/selfdrive/selfdrived/selfdrived.py
@@ -117,7 +117,7 @@ class SelfdriveD:
self.rk = Ratekeeper(100, print_delay_threshold=None)
# Determine startup event
- self.startup_event = EventName.startup if build_metadata.openpilot.comma_remote and build_metadata.tested_channel else EventName.startupMaster
+ self.startup_event = EventName.startup #if build_metadata.openpilot.comma_remote and build_metadata.tested_channel else EventName.startupMaster
if not car_recognized:
self.startup_event = EventName.startupNoCar
elif car_recognized and self.CP.passive:
diff --git a/selfdrive/ui/SConscript b/selfdrive/ui/SConscript
index 8fa4b55ea..657b97597 100644
--- a/selfdrive/ui/SConscript
+++ b/selfdrive/ui/SConscript
@@ -58,6 +58,11 @@ qt_env.Command(assets, [assets_src, translations_assets_src], f"rcc $SOURCES -o
qt_env.Depends(assets, Glob('#selfdrive/assets/*', exclude=[assets, assets_src, translations_assets_src, "#selfdrive/assets/assets.o"]) + [lrelease])
asset_obj = qt_env.Object("assets", assets)
+# build text and spinner everytime
+qt_env.SharedLibrary("qt/python_helpers", ["qt/qt_window.cc"], LIBS=qt_libs)
+qt_env.Program("_text", ["qt/text.cc"], LIBS=qt_libs)
+qt_env.Program("_spinner", ["qt/spinner.cc"], LIBS=qt_libs)
+
# build main UI
qt_env.Program("ui", qt_src + [asset_obj], LIBS=qt_libs)
if GetOption('extras'):
diff --git a/selfdrive/ui/qt/onroad/buttons.cc b/selfdrive/ui/qt/onroad/buttons.cc
index 2c2cc672b..9fab5a8f8 100644
--- a/selfdrive/ui/qt/onroad/buttons.cc
+++ b/selfdrive/ui/qt/onroad/buttons.cc
@@ -19,7 +19,7 @@ void drawIcon(QPainter &p, const QPoint ¢er, const QPixmap &img, const QBrus
ExperimentalButton::ExperimentalButton(QWidget *parent) : experimental_mode(false), engageable(false), QPushButton(parent) {
setFixedSize(btn_size, btn_size);
- engage_img = loadPixmap("../assets/img_chffr_wheel.png", {img_size, img_size});
+ engage_img = loadPixmap("../assets/dragonpilot.png", {img_size, img_size});
experimental_img = loadPixmap("../assets/img_experimental.svg", {img_size, img_size});
QObject::connect(this, &QPushButton::clicked, this, &ExperimentalButton::changeMode);
}
diff --git a/selfdrive/ui/qt/sidebar.cc b/selfdrive/ui/qt/sidebar.cc
index 966396edc..7fa0b7ea0 100644
--- a/selfdrive/ui/qt/sidebar.cc
+++ b/selfdrive/ui/qt/sidebar.cc
@@ -25,7 +25,7 @@ void Sidebar::drawMetric(QPainter &p, const QPair &label, QCol
}
Sidebar::Sidebar(QWidget *parent) : QFrame(parent), onroad(false), flag_pressed(false), settings_pressed(false) {
- home_img = loadPixmap("../assets/images/button_home.png", home_btn.size());
+ home_img = loadPixmap("../assets/dragonpilot.png", home_btn.size());
flag_img = loadPixmap("../assets/images/button_flag.png", home_btn.size());
settings_img = loadPixmap("../assets/images/button_settings.png", settings_btn.size(), Qt::IgnoreAspectRatio);
diff --git a/selfdrive/ui/qt/spinner.cc b/selfdrive/ui/qt/spinner.cc
index 2404efa66..9c0f4abea 100644
--- a/selfdrive/ui/qt/spinner.cc
+++ b/selfdrive/ui/qt/spinner.cc
@@ -20,7 +20,7 @@ TrackWidget::TrackWidget(QWidget *parent) : QWidget(parent) {
setFixedSize(spinner_size);
// pre-compute all the track imgs. make this a gif instead?
- QPixmap comma_img = loadPixmap("../assets/img_spinner_comma.png", spinner_size);
+ QPixmap comma_img = loadPixmap("../assets/dragonpilot.png", spinner_size);
QPixmap track_img = loadPixmap("../assets/img_spinner_track.png", spinner_size);
QTransform transform(1, 0, 0, 1, width() / 2, height() / 2);
diff --git a/selfdrive/ui/qt/util.cc b/selfdrive/ui/qt/util.cc
index 399a1a98d..141bbde42 100644
--- a/selfdrive/ui/qt/util.cc
+++ b/selfdrive/ui/qt/util.cc
@@ -26,11 +26,11 @@ QString getVersion() {
}
QString getBrand() {
- return QObject::tr("openpilot");
+ return QObject::tr("dragonpilot");
}
QString getUserAgent() {
- return "openpilot-" + getVersion();
+ return "dragonpilot-" + getVersion();
}
std::optional getDongleId() {
diff --git a/system/sentry.py b/system/sentry.py
index 63bf789b6..5733b5377 100644
--- a/system/sentry.py
+++ b/system/sentry.py
@@ -12,9 +12,9 @@ from openpilot.system.version import get_build_metadata, get_version
class SentryProject(Enum):
# python project
- SELFDRIVE = "https://6f3c7076c1e14b2aa10f5dde6dda0cc4@o33823.ingest.sentry.io/77924"
+ SELFDRIVE = "https://980a0cba712a4c3593c33c78a12446e1@o273754.ingest.sentry.io/1488600"
# native project
- SELFDRIVE_NATIVE = "https://3e4b586ed21a4479ad5d85083b639bc6@o33823.ingest.sentry.io/157615"
+ SELFDRIVE_NATIVE = "https://980a0cba712a4c3593c33c78a12446e1@o273754.ingest.sentry.io/1488600"
def report_tombstone(fn: str, message: str, contents: str) -> None:
diff --git a/system/ui/spinner.py b/system/ui/spinner.py
index 639de2674..5956ae881 100755
--- a/system/ui/spinner.py
+++ b/system/ui/spinner.py
@@ -30,7 +30,7 @@ def main():
gui_app.init_window("Spinner")
# Load textures
- comma_texture = gui_app.load_texture_from_image(os.path.join(BASEDIR, "selfdrive/assets/img_spinner_comma.png"), TEXTURE_SIZE, TEXTURE_SIZE)
+ comma_texture = gui_app.load_texture_from_image(os.path.join(BASEDIR, "selfdrive/dragonpilot.png"), TEXTURE_SIZE, TEXTURE_SIZE)
spinner_texture = gui_app.load_texture_from_image(os.path.join(BASEDIR, "selfdrive/assets/img_spinner_track.png"), TEXTURE_SIZE, TEXTURE_SIZE)
# Initial values