mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-14 00:13:42 +08:00
UI: cleanup old training guide assets (#27973)
* UI: cleanup old training guide assets * rm that old-commit-hash: 38b99b5461f98b24d9a73c17aa5b6833f0c0e419
This commit is contained in:
@@ -411,6 +411,7 @@ selfdrive/assets/images/*
|
||||
selfdrive/assets/offroad/*
|
||||
selfdrive/assets/sounds/*
|
||||
selfdrive/assets/training/*
|
||||
selfdrive/assets/navigation/*
|
||||
|
||||
third_party/.gitignore
|
||||
third_party/SConscript
|
||||
|
||||
@@ -4,9 +4,6 @@ third_party/mapbox-gl-native-qt/include/*
|
||||
|
||||
system/timezoned.py
|
||||
|
||||
selfdrive/assets/navigation/*
|
||||
selfdrive/assets/training_wide/*
|
||||
|
||||
system/camerad/cameras/camera_qcom2.cc
|
||||
system/camerad/cameras/camera_qcom2.h
|
||||
system/camerad/cameras/camera_util.cc
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "compressing training guide images"
|
||||
optipng -o7 -strip all training/* training_wide/*
|
||||
optipng -o7 -strip all training/*
|
||||
|
||||
# This can sometimes provide smaller images
|
||||
# mogrify -quality 100 -format jpg training_wide/* training/*
|
||||
# mogrify -quality 100 -format jpg training/*
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b577e0531165155b86179443025aeea3477649e82ff6076811b17634b0e5515e
|
||||
size 723606
|
||||
oid sha256:89d27d040a04508f755741929158545f4d2780c728021bf02446eb0a2e38aaa6
|
||||
size 874812
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:89d27d040a04508f755741929158545f4d2780c728021bf02446eb0a2e38aaa6
|
||||
size 874812
|
||||
Binary file not shown.
@@ -40,7 +40,6 @@ void TrainingGuide::mouseReleaseEvent(QMouseEvent *e) {
|
||||
}
|
||||
|
||||
void TrainingGuide::showEvent(QShowEvent *event) {
|
||||
img_path = width() == WIDE_WIDTH ? "../assets/training_wide/" : "../assets/training/";
|
||||
boundingRect = width() == WIDE_WIDTH ? boundingRectWide : boundingRectStandard;
|
||||
|
||||
currentIndex = 0;
|
||||
|
||||
@@ -73,7 +73,7 @@ private:
|
||||
QRect(108, 804, 426, 164),
|
||||
};
|
||||
|
||||
QString img_path;
|
||||
const QString img_path = "../assets/training/";
|
||||
QVector<QRect> boundingRect;
|
||||
QElapsedTimer click_timer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user