Commit Graph

1490 Commits

Author SHA1 Message Date
Adeeb Shihadeh cdbf69f724 UI: cleanup old training guide assets (#27973)
* UI: cleanup old training guide assets

* rm that
old-commit-hash: 38b99b5461f98b24d9a73c17aa5b6833f0c0e419
2023-04-19 11:10:50 -07:00
Angus Gratton f1e674f30c cabana/cameraview: Scale the glViewPort by devicePixelRatio() (#27941)
* cameraview: Scale the glViewPort by devicePixelRatio()

This fixes an issue seen in Cabana on a "hidpi" system with Wayland where
devicePixelRatio() != 1 and the video doesn't take up the full widget area.

On the recommended Ubuntu 20.04 install I wasn't able to reproduce, because
devicePixelRatio() was always equal to 1 even with scaling to 200% or 300%. It
might be different if "Fractional Scaling" is enabled in GNOME (I couldn't make
that option work in mv WM.)

Was going to enable just for Linux, but it appears to also be recommended for
Retina MacOS:
https://doc.qt.io/qt-5/scalability.html#high-dpi-scaling-on-macos-and-ios

... so have worked from the assumption that glViewport() always takes dimensions
in device pixels, never the "device independent pixels" of Qt.

* Update selfdrive/ui/qt/widgets/cameraview.cc

* Update selfdrive/ui/qt/widgets/cameraview.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fbcd0821c92af58137e5b34f0cfe37ffd1c08642
2023-04-19 11:06:54 -07:00
Willem Melching d4cea1f024 cabana: enable Hi-DPI support on MacOS (#27965)
old-commit-hash: 475903e24486be0a5be2bb935db221832c9cd239
2023-04-19 10:48:36 -07:00
AlexandreSato d1147b4e6d Multilang: update pt-BR translations (#27767)
old-commit-hash: 852f67dc8818abe011aa7ad4f2e425fc1d9f81e8
2023-03-31 11:29:08 -07:00
Lee Jong Mun 18f13cd66e Multilang: kor translation update (#27756)
old-commit-hash: 2c13bfac7498adb17d526c5472228f4bf4b09780
2023-03-30 17:34:39 -07:00
royjr 52cb1ca0f1 ui: experimental -> alpha OP long toggle (#27725)
* swap locations

* remove experimental from toggle name

* revert

* alpha

* revert that

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c2d13e529219422b942cbedcc3a496e2c936dd9b
2023-03-30 14:27:05 -07:00
Jason Wen fe5fee6931 torqued: reset LiveTorqueParameters on calibration reset (#27737)
* torqued: reset LiveTorqueParameters on calibration reset

* gotta have this
old-commit-hash: 8e3ed8f10b5e9eae52b1374a81d46dcd022e3598
2023-03-29 14:30:27 -07:00
Vivek Aithal 467040bbd0 Revert "torqued: reset LiveTorqueParameters on calibration reset" (#27736)
Revert "torqued: reset LiveTorqueParameters on calibration reset (#27732)"

This reverts commit 61bcfed6d92a13d994e56c1360d96f6026f40f7e.
old-commit-hash: 46069738d6f4a5c40e4aededbba797b38f8d4bcb
2023-03-29 14:01:22 -07:00
Jason Wen 1187234757 torqued: reset LiveTorqueParameters on calibration reset (#27732)
old-commit-hash: 18253982db08434f42a660689144a1d4eafd1a1b
2023-03-29 13:56:45 -07:00
Dean Lee 13aad29d76 ui: remove lupdate warnings: "Qualifying with unknown namespace" (#27616)
old-commit-hash: d8a55de1669704e7a847c346f715d0659d54e9ca
2023-03-17 16:14:43 -07:00
Adeeb Shihadeh 09e9ae012b UI: remove spammy CameraView log
old-commit-hash: 9a6bcba7416b9e3f4dcf527131f4ca7250bb0f35
2023-03-15 14:34:33 -07:00
Dean Lee 2936d72386 ui: auto detect available streams (#27470)
* auto detect available streams

* no switch if wide cam not available

* clear frames before getAvailableStreams

* warning

* clear at same time

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d5375af2f5c9f74cb88ffa1ab52feb9fef77a43c
2023-03-14 13:59:22 -07:00
Harald Schäfer f05cf4cdf1 Only trust locationd for nav (#27579)
* Only trust locationd for nav

* unused var
old-commit-hash: d75ee19defc279837f64fd62a0dbe2db4acd1a2d
2023-03-14 09:25:09 -07:00
protonchang 70170f9c41 Update CHT translation (#27530)
* Update zh-CHT translation

* Update zh-CHT translation

* Update zh-CHT Translation

* Update to resolve translation consistency issue

* Update zh-CHT translation
old-commit-hash: dc5a65049ef93cd0c342d32cc5eecef32e0bb145
2023-03-10 15:39:16 -08:00
AlexandreSato 9c27549946 Multilanguage: update pt-BR translations (#27546)
update pt-BR translations
old-commit-hash: 572eba78a675836e036456afc6e1bb2f14e9a3d6
2023-03-09 17:17:22 -08:00
Harald Schäfer 080ac41ce0 Enable dmoji crosshairs in gray when not enabled (#27491)
* try

* add fade back

---------

Co-authored-by: ZwX1616 <zwx1616@gmail.com>
old-commit-hash: f17ac166a325ae1f73778ac45af57fc1b23a1298
2023-03-03 17:48:51 -08:00
Iamz e11af7a8dd Add missing Thai translations and remove obsolete messages. (#27469)
Update Thai translations
old-commit-hash: 9ce26b201104afd24fb20baeba22320473afc09d
2023-03-01 15:35:28 -08:00
Lee Jong Mun 4621839a66 Multilang: kor translation update (#27445)
old-commit-hash: dc39a87543d61eb5d24ee5f27b661474f7f16598
2023-02-27 15:50:32 -08:00
ZwX1616 1a42ef6b37 driverview: use static icon (#27448)
* fix alpha

* prerender
old-commit-hash: c995acda7c502bc14fff431ba4832faa9dbaec18
2023-02-28 03:01:55 +08:00
Cameron Clough b7b61c1faa setup: set download timeout (#27441)
old-commit-hash: f64fa07b0a42bb04d036f1280953dbbd27de41a0
2023-02-23 19:46:06 -08:00
Cameron Clough 8491b5db66 setup: detailed error messages (#27429)
* setup: specific error state for non-executable file

* Result -> DownloadResult

* complete -> finished

* rename widgets to be more consistent

* fix typos

* fix setCurrentIndex

This appears to have different behaviour on device than on PC (off by
one)

* load fonts

* copy

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Revert "load fonts"

This reverts commit e8756598ed99aea39ef5721453e97920a494051c.

* font family

* undo

* less widgets more better

* font size

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 79e6910106de6ae25127613728332e8b743d962a
2023-02-23 19:45:48 -08:00
Cameron Clough d35ed17e63 setup: write installer URL to tmpfile (#27426)
* setup: write installer URL to tmpfile

* missed ptr type
old-commit-hash: 90db46e7756e2eb6d61b1ff23f7cb4a7b356abb9
2023-02-22 17:26:37 -08:00
Adeeb Shihadeh d372fb4c3d AGNOS system reset: handle ABL reset (#27418)
* AGNOS system reset: handle ABL reset

* no more tapping

* eta
old-commit-hash: 72539fa177a4e3f320daf3257038ef3f2e4893ac
2023-02-21 21:34:02 -08:00
Dean Lee 7cd3e178c1 cabana: add qrc resource file (#27386)
* add qrc resource file

* remove export
old-commit-hash: 8e3cb0fb2075cc0e21f0362dad467cd992291c3a
2023-02-19 15:14:13 -08:00
Harald Schäfer 0ac73f2a81 MPC path in UI (#27380)
* 10s lat

* Full length MPC

* redfine N

* Leave controls the same for now

* Updates

* use long plan in lat plan

* interp plan

* simplergit add selfdrive/controls/plannerd.py selfdrive/controls/

* expand to 10s

* revert this

* fix linter

* vizualize

* fix long test

* typo

* cleanup

* compiles

* unused

* unused

* bump cereal

* bump cereal

* use model if no uiplanm

* update replay

* update ref commit

* bump cereal to master
old-commit-hash: eb8bdc0026b49de2fc5107746baeadbd42f58550
2023-02-17 19:58:30 -08:00
Adeeb Shihadeh 261f4d7524 UI: fix old frame shown on startup (#27283)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1f85f84027015ee20fa4affff23e121f4388d93c
2023-02-09 20:44:29 -08:00
ZwX1616 8fd5f1b50d ui: dmoji (#27070)
* will draw

* gradient

* bg

* add sense of depth

* refactor

* cleanup

* fix endpoint

* clean up

* use array

* 1 matmul

* lives in modeldata

* standstill only

* remove bad pts

* do less math

* smooth

* kind

* fix d

* lineswidth

* fade in and out

* hide

* quick

* gray out

* fix joints

* offset

* rest icon

* clean up

* circle as state

* longlat

* new design

* gap and g

* scaledown, fix jts and unlock not standstill

* width

* different

* intermediate

* sand

* motion effect

* vis

* fix bg

* clean up

* t

* btn_size

* small speedup

* sligh

* clean up

* facelift

* match .2

* .4 is good

* size

* no ss

* rhd compat

* less filt

* more line

* engaged

* not white

* drop prop

* this is fine

* independent falg

* sg

* dont look like hitman

* cleanup

* little more

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 955c1dff454babe200862f0011e639ec500938b3
2023-02-08 19:06:59 -08:00
Cameron Clough 4d4c0c45b9 setup: replace software selection widget with input dialog (#27236)
* setup: replace software selection widget with input dialog

* revert

https://github.com/commaai/openpilot/pull/21617/commits/3f7047651c31b209c9c4a0b8ff7bd408aca3f9e5
old-commit-hash: 1a0a6387409203e1a2611eb35882de7a931ca703
2023-02-07 11:37:25 -08:00
Cameron Clough 23cf988d3c setup: check installer is elf (#27241)
old-commit-hash: 074e74ad08e199f189d4d84f73b2a9df1061eb97
2023-02-07 11:37:03 -08:00
Cameron Clough 0276badcc0 setup: add serial to request headers (#27237)
* setup: add dongle ID to request headers

* rename openpilot

* fix str

* hardware: get_serial

* set serial instead

* fix typo

* static

* fixes
old-commit-hash: 6fb5661abba34971e547941e0f6a6625bef3b75a
2023-02-06 20:02:30 -08:00
Cameron Clough a830d85ad6 installer: do not translate git progress strings (#27238)
old-commit-hash: b462463fbfdc3f4336206bf12b2f07e35473ac3a
2023-02-06 17:09:13 -08:00
Cameron Clough 3f75cdb6e3 setup: fix button label on ethernet (#27235)
* setup: continue without wi-fi on ethernet

* switch around
old-commit-hash: 9a51275cd246bcbf53da764495a944af8a0b51bd
2023-02-06 15:43:25 -08:00
Cameron Clough 44e1bf9fbf settings: highlight nightly in branch switcher (#27227)
old-commit-hash: 68bcdaaff7f9050402d983f460f2c85866b4ca32
2023-02-06 10:40:45 -08:00
Cameron Clough 0529c87f72 ui: tap experimental mode icon to toggle (#27064)
* ui: tap experimental mode icon to toggle

After experimental mode has been enabled for the first time (confirmed),
it can be toggled by tapping the engage-ability/experimental mode icon
in the upper right.

Closes #27002

* replace with QPushButton

* fixes

* cleanup
old-commit-hash: 20fb2b9bb3f06187665928eda6e740db29b45e5b
2023-02-02 14:28:45 -08:00
Rewat S 2d11b27019 Multilang: add missing Thai translations (#27148)
* Multilang: add missing Thai translations

* Multilang: update Thai translations

* Multilang: add missing Thai translations
old-commit-hash: ef0e8a312768e710e060e846e34c14255ffce028
2023-02-01 14:17:06 -08:00
AlexandreSato 43b7242be1 Multilang: new pt-BR translations (#27021)
* improve pt-BR translations

* update pt-BR translation

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e507830a1c21490701d53093777bd2b5727202ca
2023-01-20 15:28:48 -08:00
Adeeb Shihadeh 6ab6b643a8 set path for extra qt bins on device (#27022)
* set path for extra qt bins on device

* no print

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e883976a32a4190123d891f51cc567dfd77e6c85
2023-01-20 14:11:43 -08:00
Adeeb Shihadeh ee307600e9 skip lupdate on device
old-commit-hash: 75fd2e119946d2e5a850f924b5f33945435cad3f
2023-01-20 13:11:51 -08:00
AlexandreSato 758d8c78d7 Multilang: improve pt-BR translations (#26962)
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 2c5a952a1c84a799b2951867943c4748618721d2
2023-01-20 11:33:05 -08:00
Shane Smiskol cf1dc17230 Multilang: add back some translations (#27019)
* add back translations

* 🤔

* actually shouldn't be a space
old-commit-hash: 986ec99f827f98e01290461e8e35ebb5b68dd0f3
2023-01-20 11:29:10 -08:00
Adeeb Shihadeh 4e3c449967 UI: update translations during scons build (#27009)
* UI: update translation during scons build

* all in scons

* debug

* precious

* debug

* add missing

* Update release/check-dirty.sh

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: da621245b2cc84dd972b0582bec077a008c8e871
2023-01-20 10:46:45 -08:00
Lee Jong Mun 92c2446be4 Multilang: kor translation update (#27013)
old-commit-hash: 40cc43c076df7d0998b61a0a473b8127637fd07f
2023-01-20 10:43:14 -08:00
Adeeb Shihadeh 69680e5a93 UI: show experimental long available to release users (#26910)
* UI: show experimental long available to release users

* more description

* cleanup

* hide toggle

* fix process replay

* clear param

* actually fix
old-commit-hash: c408b7e30609ca64971a4278eab16643fbb123b3
2023-01-19 23:06:18 -08:00
Shane Smiskol 5587ce2220 cameraview: fix spaces in debug print
old-commit-hash: c1fcd63bba1797133309d94b360d98e147b69548
2023-01-19 18:42:34 -08:00
Dean Lee fa47048e44 cabana: use bootstrap icons (#26981)
* use bootstrap icons

* typo

* build into asset_obj

* add to files_common
old-commit-hash: c21d9408a191ba8e3303f2459d1f7476fefd35ba
2023-01-18 13:19:23 -08:00
Adeeb Shihadeh 16dabbd686 fix typo AR0321 -> AR0231 (#26993)
old-commit-hash: ef42652368bb56a93e75f172062ac9f6aca29563
2023-01-17 19:52:06 -08:00
Harald Schäfer 63efb985cd Revert locationd to gpsLocation (#26963)
* revert locationd laika change

* switch msg

* change proc replay

* back to gpslocation

* update ref

* no np floats in msg

* Ignore empty laikad messages in mapos

* more tolerance

* c++ doesnt work like that
old-commit-hash: 4c33d94d3f088c6f1fc88a0f40f3a828968c1c52
2023-01-14 16:56:14 -08:00
Kurt Nistelberger 95f4709f7d match style
old-commit-hash: 2b611862becd0cafbe6949961da04dfa4d252b4e
2023-01-07 17:56:16 -08:00
Kurt Nistelberger e142178284 Navigation: add destination marker (#26873)
* add navigation destination marker

* fix removal

* update default marker icon

* update default marker

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: b6440304d59d13b918842f68ce9f3417e3e0ecbc
2023-01-07 17:53:14 -08:00
Shane Smiskol 4d1e15b85c ui: draw radarState leads (#26852)
use radarState
old-commit-hash: 304796bafe0c0608e40b20fc44923f9edf462240
2022-12-31 19:51:03 -08:00