UI: cleanup old training guide assets (#27973)

* UI: cleanup old training guide assets

* rm that
pull/27975/head
Adeeb Shihadeh 2 years ago committed by GitHub
parent fbcd0821c9
commit 38b99b5461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      release/files_common
  2. 3
      release/files_tici
  3. 4
      selfdrive/assets/compress-images.sh
  4. BIN
      selfdrive/assets/training/step0.png
  5. BIN
      selfdrive/assets/training/step1.png
  6. BIN
      selfdrive/assets/training/step10.png
  7. BIN
      selfdrive/assets/training/step11.png
  8. BIN
      selfdrive/assets/training/step12.png
  9. BIN
      selfdrive/assets/training/step13.png
  10. BIN
      selfdrive/assets/training/step14.png
  11. BIN
      selfdrive/assets/training/step15.png
  12. BIN
      selfdrive/assets/training/step16.png
  13. BIN
      selfdrive/assets/training/step17.png
  14. BIN
      selfdrive/assets/training/step18.png
  15. BIN
      selfdrive/assets/training/step2.png
  16. BIN
      selfdrive/assets/training/step3.png
  17. BIN
      selfdrive/assets/training/step4.png
  18. BIN
      selfdrive/assets/training/step5.png
  19. BIN
      selfdrive/assets/training/step6.png
  20. BIN
      selfdrive/assets/training/step7.png
  21. BIN
      selfdrive/assets/training/step8.png
  22. BIN
      selfdrive/assets/training/step9.png
  23. BIN
      selfdrive/assets/training_wide/step0.png
  24. BIN
      selfdrive/assets/training_wide/step1.png
  25. BIN
      selfdrive/assets/training_wide/step10.png
  26. BIN
      selfdrive/assets/training_wide/step11.png
  27. BIN
      selfdrive/assets/training_wide/step12.png
  28. BIN
      selfdrive/assets/training_wide/step13.png
  29. BIN
      selfdrive/assets/training_wide/step14.png
  30. BIN
      selfdrive/assets/training_wide/step15.png
  31. BIN
      selfdrive/assets/training_wide/step16.png
  32. BIN
      selfdrive/assets/training_wide/step17.png
  33. BIN
      selfdrive/assets/training_wide/step18.png
  34. BIN
      selfdrive/assets/training_wide/step2.png
  35. BIN
      selfdrive/assets/training_wide/step3.png
  36. BIN
      selfdrive/assets/training_wide/step4.png
  37. BIN
      selfdrive/assets/training_wide/step5.png
  38. BIN
      selfdrive/assets/training_wide/step6.png
  39. BIN
      selfdrive/assets/training_wide/step7.png
  40. BIN
      selfdrive/assets/training_wide/step8.png
  41. BIN
      selfdrive/assets/training_wide/step9.png
  42. 1
      selfdrive/ui/qt/offroad/onboarding.cc
  43. 2
      selfdrive/ui/qt/offroad/onboarding.h

@ -411,6 +411,7 @@ selfdrive/assets/images/*
selfdrive/assets/offroad/* selfdrive/assets/offroad/*
selfdrive/assets/sounds/* selfdrive/assets/sounds/*
selfdrive/assets/training/* selfdrive/assets/training/*
selfdrive/assets/navigation/*
third_party/.gitignore third_party/.gitignore
third_party/SConscript third_party/SConscript

@ -4,9 +4,6 @@ third_party/mapbox-gl-native-qt/include/*
system/timezoned.py system/timezoned.py
selfdrive/assets/navigation/*
selfdrive/assets/training_wide/*
system/camerad/cameras/camera_qcom2.cc system/camerad/cameras/camera_qcom2.cc
system/camerad/cameras/camera_qcom2.h system/camerad/cameras/camera_qcom2.h
system/camerad/cameras/camera_util.cc system/camerad/cameras/camera_util.cc

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
echo "compressing training guide images" echo "compressing training guide images"
optipng -o7 -strip all training/* training_wide/* optipng -o7 -strip all training/*
# This can sometimes provide smaller images # This can sometimes provide smaller images
# mogrify -quality 100 -format jpg training_wide/* training/* # mogrify -quality 100 -format jpg training/*

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 914 KiB

After

Width:  |  Height:  |  Size: 1010 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 947 KiB

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 919 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 793 KiB

After

Width:  |  Height:  |  Size: 944 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 818 KiB

After

Width:  |  Height:  |  Size: 915 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 707 KiB

After

Width:  |  Height:  |  Size: 854 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 871 KiB

After

Width:  |  Height:  |  Size: 1001 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1010 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 944 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 915 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 854 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1001 KiB

@ -40,7 +40,6 @@ void TrainingGuide::mouseReleaseEvent(QMouseEvent *e) {
} }
void TrainingGuide::showEvent(QShowEvent *event) { void TrainingGuide::showEvent(QShowEvent *event) {
img_path = width() == WIDE_WIDTH ? "../assets/training_wide/" : "../assets/training/";
boundingRect = width() == WIDE_WIDTH ? boundingRectWide : boundingRectStandard; boundingRect = width() == WIDE_WIDTH ? boundingRectWide : boundingRectStandard;
currentIndex = 0; currentIndex = 0;

@ -73,7 +73,7 @@ private:
QRect(108, 804, 426, 164), QRect(108, 804, 426, 164),
}; };
QString img_path; const QString img_path = "../assets/training/";
QVector<QRect> boundingRect; QVector<QRect> boundingRect;
QElapsedTimer click_timer; QElapsedTimer click_timer;

Loading…
Cancel
Save