Commit Graph

457 Commits

Author SHA1 Message Date
Shane Smiskol 858f7c0715 infinite orange alert sound (#20723) 2021-04-21 14:37:27 -07:00
Adeeb Shihadeh 31dd0cbd42 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>
2021-04-20 20:45:46 -07:00
Adeeb Shihadeh a3df0e9827 upload raw on tici 2021-04-15 21:36:09 -07:00
Adeeb Shihadeh aaa8d937f5 GL spinner fix (#20684)
* GL spinner fix

* update larch spinner

Co-authored-by: Comma Device <device@comma.ai>
2021-04-15 00:49:34 -07:00
Adeeb Shihadeh 2eac604993 lte toggle (#20683) 2021-04-14 21:19:06 -07:00
Adeeb Shihadeh a60effc112 UI: fix initial toggle state after #20670 2021-04-14 21:02:34 -07:00
iejMac 928fbecec0 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
2021-04-13 13:42:13 -07:00
iejMac e6d210d526 ui update_sockets refactor (#20625)
* separate updates

* update

* no if

* no return

* fix
2021-04-12 16:08:38 -07:00
Adeeb Shihadeh 11cc0b52ce Raw upload toggle (#20665)
* upload toggle

* better description

* icons
2021-04-12 14:05:43 -07:00
Adeeb Shihadeh aab822a352 Revert "hide set speed for stock long (#20585)" (#20666)
This reverts commit e4d7ee3716.
2021-04-12 13:34:44 -07:00
Comma Device 242a8ba17a build all installers simulataneously 2021-04-11 15:14:06 -07:00
Dean Lee 8c3ec9dd31 Faster spinner, reduce cpu usage (#20618)
* Faster spinenr

* correct  path

* remove binary

* 30 fps

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

* let adreno sleep

* remove

Co-authored-by: Comma Device <device@comma.ai>
2021-04-09 17:27:35 -07:00
Adeeb Shihadeh 36d8c89ebf 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>
2021-04-08 11:17:07 -07:00
Willem Melching 1fc7bcca43 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>
2021-04-07 19:12:35 +02:00
Willem Melching ae094042ad 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
2021-04-07 15:36:37 +02:00
iejMac 27ebd334dc close android activities when settings is closed (#20604)
* close android activities

* new line

* only if activity is launched

* fix
2021-04-06 19:35:09 -07:00
Comma Device 7466ad6802 fix drive stats offset on home screen 2021-04-06 16:16:23 -07:00
Dean Lee 57fe8488ac 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>
2021-04-06 15:02:40 -07:00
Comma Device 18e60751c2 fix cut off qr code 2021-04-05 20:14:12 -07:00
iejMac 9e4748db8b text window starts scrolling at bottom (#20587)
* text starts scrolling at bottom

* comment
2021-04-05 14:27:14 -07:00
Adeeb Shihadeh e4d7ee3716 hide set speed for stock long (#20585) 2021-04-05 13:46:26 -07:00
Dean Lee d14aba4580 remove memory leak in create_jwt() (#20547) 2021-04-05 10:05:04 -07:00
iejMac 10e4d32197 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>
2021-04-03 01:18:26 -07:00
iejMac 86a78581e3 alerts background color fix (#20568) 2021-04-02 14:03:49 -07:00
Comma Device 204d878c6f update qt setup 2021-04-01 22:12:33 -07:00
iejMac 9afa14c47f 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
2021-04-01 14:03:31 -07:00
Willem Melching 7bc0b27ae5 RequestRepeater remove memory leak through payloads argument 2021-03-31 10:56:42 +02:00
Dean Lee 31a612c6e4 fix: read brightness from persistent params (#20544) 2021-03-31 00:58:37 -07:00
Comma Device 588778e168 fix lib order 2021-03-30 19:46:40 -07:00
Adeeb Shihadeh a5a61a2bd5 small UI cleanup 2021-03-30 14:48:22 -07:00
Willem Melching 7372b9bba5 Revert "Add device_type to class Hardware (#20535)"
This reverts commit 9922688f8b.
2021-03-30 17:36:04 +02:00
Dean Lee 9922688f8b Add device_type to class Hardware (#20535)
* add device_type to HadWare class

* always wake on PC

* use cereal::InitData::DeviceType
2021-03-30 16:13:49 +02:00
Dean Lee a93f787cef refactor draw_circle_image (#20473) 2021-03-30 13:32:07 +02:00
Dean Lee 98e55996f6 Params: python-like interface (#20506)
* rebase master

* delete outdated test_params.c

* putBool & more robust getBool

* putBool(SshEnabled)
2021-03-30 12:54:59 +02:00
Dean Lee 6db31b9a33 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
2021-03-30 12:09:06 +02:00
Dean Lee 32c4cf00c2 faster driverview start (#20507) 2021-03-30 11:51:18 +02:00
Dean Lee bf1001e54b 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>
2021-03-29 21:50:16 -07:00
Adeeb Shihadeh bd12a787ff cleanup tici networking + remove pagination (#20528)
* remove wifi pagination

* cleanup

* little more cleanup

* fix tethering button

Co-authored-by: Comma Device <device@comma.ai>
2021-03-29 19:11:27 -07:00
Comma Device 9896438d15 training guide: make coordinates relative to img 2021-03-29 16:46:12 -07:00
iejMac 3e190435e3 settings scrolling improvement (#20525)
* no overshoot

* removing line

Co-authored-by: Comma Device <device@comma.ai>
2021-03-29 16:32:04 -07:00
Adeeb Shihadeh c73781f840 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>
2021-03-29 14:29:23 -07:00
Comma Device 624065cb5b fix offroadTransition signal name 2021-03-28 23:42:19 -07:00
iejMac d63dab950a 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>
2021-03-28 23:32:09 -07:00
Dean Lee 5cd676797a 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>
2021-03-28 22:32:33 -07:00
Comma Device aa457a348a show serial number in settings 2021-03-28 21:31:58 -07:00
Adeeb Shihadeh c030493eb6 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>
2021-03-28 20:45:47 -07:00
Adeeb Shihadeh a2084c2a60 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>
2021-03-28 03:53:03 -07:00
Dean Lee 318fa3f50a ui: don't log slow frame message in driverview (#20509)
* Don't log slow frame message in driverview mode

* white space
2021-03-27 13:38:48 -07:00
Comma Device 364b083c59 UI: limit version string length for master-ci 2021-03-26 19:30:32 -07:00