update wide images and boxes

pull/24032/head
Shane Smiskol 3 years ago
parent f47c8b0ac4
commit 2ca0cd407f
  1. BIN
      selfdrive/assets/training_wide/step0.png
  2. BIN
      selfdrive/assets/training_wide/step18.png
  3. 2
      selfdrive/ui/qt/offroad/onboarding.cc
  4. 28
      selfdrive/ui/qt/offroad/onboarding.h

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

@ -23,7 +23,7 @@ void TrainingGuide::mouseReleaseEvent(QMouseEvent *e) {
if (boundingRect[currentIndex].contains(e->x(), e->y())) {
if (currentIndex == 9) {
const QRect yes = QRect(642, 820, 466, 148);
const QRect yes = QRect(707, 804, 531, 164);
Params().putBool("RecordFront", yes.contains(e->x(), e->y()));
}
currentIndex += 1;

@ -49,28 +49,28 @@ private:
QRect(108, 804, 426, 164),
};
const QRect continueBtnWide = {1844, 0, 324, 1088};
const QRect continueBtnWide = {1840, 0, 320, 1080};
QVector<QRect> boundingRectWide {
QRect(654, 721, 718, 189),
QRect(112, 804, 619, 165),
continueBtnWide,
continueBtnWide,
QRect(1690, 570, 165, 300),
QRect(1690, 560, 133, 60),
QRect(1608, 558, 270, 312), // path
QRect(1680, 546, 148, 73), // triangle
continueBtnWide,
QRect(1820, 630, 180, 155),
QRect(1360, 0, 460, 620),
QRect(1570, 400, 375, 215),
QRect(167, 842, 1018, 148),
QRect(1610, 210, 295, 310),
QRect(1823, 631, 177, 154), // set
QRect(1350, 0, 810, 650),
QRect(1553, 516, 406, 112), // alert
QRect(112, 804, 1126, 164), // dm yesno
QRect(1598, 199, 316, 333), // set speed
continueBtnWide,
QRect(1555, 90, 610, 990),
QRect(1364, 90, 796, 990), // steering wheel
continueBtnWide,
QRect(1600, 140, 280, 790),
QRect(1385, 490, 750, 270),
QRect(1593, 114, 318, 853), // traffic light
QRect(1379, 511, 391, 243), // brake pedal
continueBtnWide,
continueBtnWide,
QRect(1138, 755, 718, 189),
QRect(303, 755, 718, 189),
QRect(630, 804, 626, 164),
QRect(108, 804, 426, 164),
};
QString img_path;

Loading…
Cancel
Save