Commit Graph

509 Commits

Author SHA1 Message Date
Shane Smiskol f7d726a44c infinite orange alert sound (#20723)
old-commit-hash: 858f7c0715092161b94fcb00cf8501a4f2541fe3
2021-04-21 14:37:27 -07:00
Adeeb Shihadeh 8c72eac7fb set display power + brightness in spinner and text window (#20719)
* set display power + brightness in spinner and text window

* update aarch64

* update larch

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 31dd0cbd427dcf069e4677a39817d7f14df4a7ab
2021-04-20 20:45:46 -07:00
Adeeb Shihadeh 6d04f375e0 upload raw on tici
old-commit-hash: a3df0e98273a93fc460f5ac699e3cb77edfecf62
2021-04-15 21:36:09 -07:00
Adeeb Shihadeh 5a7167aaaf GL spinner fix (#20684)
* GL spinner fix

* update larch spinner

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: aaa8d937f504e4240444454a32b85de6977bf8b6
2021-04-15 00:49:34 -07:00
Adeeb Shihadeh e5be410cd5 lte toggle (#20683)
old-commit-hash: 2eac604993530fab8e10d9d546bcbb7fe0c0374c
2021-04-14 21:19:06 -07:00
Adeeb Shihadeh d1d828ad1e UI: fix initial toggle state after #20670
old-commit-hash: a60effc1123254472b16bcd6ef5fbb03a2e4a5f7
2021-04-14 21:02:34 -07:00
iejMac 5dddcac027 UI: Reset settings state when hiding panels (#20670)
* git stat

* first panel and button reset

* progress

* toggles parent + list

* check if label nullptr

* style

* fixes

* fixes

* remove line

* white space

* tabs and spaces
old-commit-hash: 928fbecec0d88fff684f3eecf1306393ef21be05
2021-04-13 13:42:13 -07:00
iejMac 79b165ba7e ui update_sockets refactor (#20625)
* separate updates

* update

* no if

* no return

* fix
old-commit-hash: e6d210d5264a9bc6f3ebd459043262327887776c
2021-04-12 16:08:38 -07:00
Adeeb Shihadeh 483ea36b96 Raw upload toggle (#20665)
* upload toggle

* better description

* icons
old-commit-hash: 11cc0b52ce78df785245c6bb6af7298728a4e999
2021-04-12 14:05:43 -07:00
Adeeb Shihadeh 994e25770f Revert "hide set speed for stock long (#20585)" (#20666)
This reverts commit 6f9453bdf4928410b9c7c19d503003e9da53a1eb.
old-commit-hash: aab822a352ecba400d4fc2fb9bb467751f543b84
2021-04-12 13:34:44 -07:00
Comma Device 7b818198f1 build all installers simulataneously
old-commit-hash: 242a8ba17ab013abe5dc214c0bf6da674e539165
2021-04-11 15:14:06 -07:00
Dean Lee 52d327f0ec Faster spinner, reduce cpu usage (#20618)
* Faster spinenr

* correct  path

* remove binary

* 30 fps

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8c3ec9dd31b33efd1b7e58d9cfae2e80544e7610
2021-04-10 15:06:16 -07:00
Adeeb Shihadeh bedee16223 let GPU sleep while offroad (#20640)
* better script

* let adreno sleep

* remove

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 32d317239a1804d6b8132b49d6de91646e111f63
2021-04-09 17:27:35 -07:00
Adeeb Shihadeh 7955ba0a5f enable --as-needed linking (#20619)
* only link as needed

* a few more

* need to fix order

* everywhre

* fix mac

* update spinner + text

* fix c2 build

* another fix

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 36d8c89ebf5fee583b89e48a5d2d5e1d178b5ee5
2021-04-08 11:17:07 -07:00
Willem Melching 00b19b6351 ecam toggle (#20597)
* use ecam in ui

* needs reboot

* use in modeld

* typo

* effective FL is longer in center

* normalize zoom by focal dist

* read param before init

* make 2x as wide

* review comments

* more explicit

* fix camera offset

Co-authored-by: ZwX1616 <zwx1616@gmail.com>
old-commit-hash: 1fc7bcca43e9ef75d95ae8689e3b1cd8c4f8041e
2021-04-07 19:12:35 +02:00
Willem Melching 8f4a445171 add putBool/getBool wrappers to cython params class (#20611)
* add putBool/getBool wrappers to cython class

* use new API

* some more puts

* fix mockparams arguments

* add get_bool to MockParams

* typo
old-commit-hash: ae094042ade44815fdba50196c15ba552bbf33d7
2021-04-07 15:36:37 +02:00
iejMac 2883bab710 close android activities when settings is closed (#20604)
* close android activities

* new line

* only if activity is launched

* fix
old-commit-hash: 27ebd334dcccbd7bbd6280ed2bb57cbad456a6c7
2021-04-06 19:35:09 -07:00
Comma Device 24c8b90e86 fix drive stats offset on home screen
old-commit-hash: 7466ad68023ee555a45431196c93a43320492e84
2021-04-06 16:16:23 -07:00
Dean Lee d33538e5f3 Qt: show current calibration values (#20455)
* show current calibration

* read calibration from capnp

* use CalStatus

* cleanup calibrationd.py

* remove import capnp

* keep json writing,remove comment

* fix test error

* cleanup

* remove test_read_saved_params

* cleanup

* write out capnp

* restore test

* clean up

* get calibration from CalibrationParams

* cleanup

* update calibration when the description is visible

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 57fe8488ac8bf02ea7f2eb61be2e256ece773cd6
2021-04-06 15:02:40 -07:00
Comma Device 7a01d56255 fix cut off qr code
old-commit-hash: 18e60751c2a1792db39731c7e0371c715a422424
2021-04-05 20:14:12 -07:00
iejMac 71f065bf19 text window starts scrolling at bottom (#20587)
* text starts scrolling at bottom

* comment
old-commit-hash: 9e4748db8bca27b6909d03bc87d2d309636b5c11
2021-04-05 14:27:14 -07:00
Adeeb Shihadeh 421e27fabd hide set speed for stock long (#20585)
old-commit-hash: e4d7ee3716bd68d4128ea13796fec5d527293012
2021-04-05 13:46:26 -07:00
Dean Lee 65a52f5163 remove memory leak in create_jwt() (#20547)
old-commit-hash: d14aba45803fa3b49c48914d0c38f2c8872286b4
2021-04-05 10:05:04 -07:00
iejMac 9238fade18 scrolling in text window (#20564)
* grid layout  + better scrollbar

* style

* style

* tabs

* scrollbar behind button fix

* alerts background color fix (#20568)

* horizontal style + more space for scrollbar

* fixes

* fixes

* fixes

* remove background on scroll bar

* fix horizontal overflow

* indent'

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 10e4d321977928a7314cd4149ba29ea08798820a
2021-04-03 01:18:26 -07:00
iejMac bcbf844dda alerts background color fix (#20568)
old-commit-hash: 86a78581e392c7205a6ba62401ad7589963a8497
2021-04-02 14:03:49 -07:00
Comma Device c671dca363 update qt setup
old-commit-hash: 204d878c6f538891f36073cf364f14c6561126d9
2021-04-01 22:12:33 -07:00
iejMac a2e14a8a0c Qt scroller class (#20549)
* initial commit

* class works

* cleanup

* naming

* text window

* fixes

* alerts are now scrollable

* dismiss

* fixed placement

* realease scrolling

* better

* better

* revert text

* naming

* parent
old-commit-hash: 9afa14c47fa40023cf1abb1956d7e2815aab9409
2021-04-01 14:03:31 -07:00
Willem Melching 8a73aabaa4 RequestRepeater remove memory leak through payloads argument
old-commit-hash: 7bc0b27ae540c941914f63e8fc5f81f8c515eb1b
2021-03-31 10:56:42 +02:00
Dean Lee 9727c82514 fix: read brightness from persistent params (#20544)
old-commit-hash: 31a612c6e4089fd709757f34da96ef33d5b27ca3
2021-03-31 00:58:37 -07:00
Comma Device 7083aea085 fix lib order
old-commit-hash: 588778e16811b125aeeaa8da275cd824ebbbeec4
2021-03-30 19:46:40 -07:00
Adeeb Shihadeh 8d660d9cbf small UI cleanup
old-commit-hash: a5a61a2bd5bf9e2ae773678ae3cac45fc45b7abd
2021-03-30 14:48:22 -07:00
Willem Melching 535621bc52 Revert "Add device_type to class Hardware (#20535)"
This reverts commit 2d15844f518b4f606f61e788fc2d3d14fb21e70b.

old-commit-hash: 7372b9bba5829f08d201a0226a7a86fd2d554e04
2021-03-30 17:36:04 +02:00
Dean Lee 75da59b835 Add device_type to class Hardware (#20535)
* add device_type to HadWare class

* always wake on PC

* use cereal::InitData::DeviceType
old-commit-hash: 9922688f8b43425b16b9be6e445dfa87348055e4
2021-03-30 16:13:49 +02:00
Dean Lee 808e187f42 refactor draw_circle_image (#20473)
old-commit-hash: a93f787cef6e6d8e57b1d78433f9810f142a176c
2021-03-30 13:32:07 +02:00
Dean Lee 405df8b165 Params: python-like interface (#20506)
* rebase master

* delete outdated test_params.c

* putBool & more robust getBool

* putBool(SshEnabled)
old-commit-hash: 98e55996f67aaaf715c941d417ae4d3b0187f388
2021-03-30 12:54:59 +02:00
Dean Lee aa1474467e Added new util class FirstOrderFilter (#20303)
* new class FirstOrderFilter

* flick face icon

* revert ui_draw_vision_face

* new function reset()

* reset after update

* use filter to update brightness
old-commit-hash: 6db31b9a33e6caab06645be898957e2414a6dedc
2021-03-30 12:09:06 +02:00
Dean Lee 8c09067b27 faster driverview start (#20507)
old-commit-hash: 32c4cf00c2d6bac059516cc44494808cf5a408ca
2021-03-30 11:51:18 +02:00
Dean Lee 86a217dca7 OffroadAlert: update alerts inplace (#20463)
* refactor

* cleanup

* use QWdiget instead of QStackWidget

* continue

* remove duplicate setMargin

* dont parse alerts if updateAvailable

* kind of works

* alerts work

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bf1001e54b8a0a3f18fe1022f4ffd2e46f74e432
2021-03-29 21:50:16 -07:00
Adeeb Shihadeh bbdd55bbc6 cleanup tici networking + remove pagination (#20528)
* remove wifi pagination

* cleanup

* little more cleanup

* fix tethering button

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bd12a787ff6674551c63814fcee6eec75e995030
2021-03-29 19:11:27 -07:00
Comma Device 3766830f65 training guide: make coordinates relative to img
old-commit-hash: 9896438d1511602a1ff87f7c4eb3c7172b30104a
2021-03-29 16:46:12 -07:00
iejMac 99b3111351 settings scrolling improvement (#20525)
* no overshoot

* removing line

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3e190435e387a8f787f829ddf3282e6e948b45f4
2021-03-29 16:32:04 -07:00
Adeeb Shihadeh 846a43b3e4 scrolling improvements (#20524)
* fix scrolling problem

* continue

* set panel margin in one place&add stretch to prevent title flicker

* adjust padding

* remove stretch

* no border

* fix padding

* better padding

* cleanup

* continue

* add stretch to prevent flicker

* reduce padding

* typo

* revert taht

* no background

* pretty good

* remove

Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c73781f840fd82d8969a9d66c57f5726a8a11966
2021-03-29 14:29:23 -07:00
Comma Device ee9bc8cf08 fix offroadTransition signal name
old-commit-hash: 624065cb5b0290c85533f40492b709e0822251e9
2021-03-28 23:42:19 -07:00
iejMac 4a3e73ddb5 disable buttons when onroad (#20475)
* disables reset calib

* works for all buttons

* naming convention + final works on PC

* stylesheets + works on manager.py

* fixing stylesheet

* add that backg

* no reviewing while onroad

* better disabled hint

* little cleanup

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d63dab950a102bc69cca515b6f3ab4ffd896b4fd
2021-03-28 23:32:09 -07:00
Dean Lee c5194fcb85 Qt: show username for current SSH keys (#20508)
* Show username for current SSH keys

* Update ssh_keys.cc

* Update ssh_keys.cc

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

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

* rename param

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5cd676797a21215dcf574d545f38ec2e1a0b14f0
2021-03-28 22:32:33 -07:00
Comma Device 40f5b22071 show serial number in settings
old-commit-hash: aa457a348ac2edbbf24ffb8cad8327d83177ad65
2021-03-28 21:31:58 -07:00
Adeeb Shihadeh 72c497d105 sound cleanup (#20491)
* fix high CPU usage when playing repeated sounds

* fix build

* fix cpu usage

* same behavior for now

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c030493eb648e99700ae0872205bc0956538c0d2
2021-03-28 20:45:47 -07:00
Adeeb Shihadeh 5ef648fe02 filter out touches while in android activity (#20515)
* filter touches while in android activity

* only check after launching activity

* move to hw abstraction layer

* little cleanup

* remove print

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a2084c2a601ba138c41494420f8275295357981f
2021-03-28 03:53:03 -07:00
Dean Lee 35f63336e9 ui: don't log slow frame message in driverview (#20509)
* Don't log slow frame message in driverview mode

* white space
old-commit-hash: 318fa3f50a59d72684b844fd61e97b29556f8699
2021-03-27 13:38:48 -07:00
Comma Device 64c2ce90ca UI: limit version string length for master-ci
old-commit-hash: 364b083c59bfb078ec7088edbf28e5d23b3d60e8
2021-03-26 19:30:32 -07:00